You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.1 KiB
Python

2 years ago
import sys
import masterlist
import commentpage
import feed
import characters
import ships
import events
import wordcount
2 years ago
import indexgen
import verifygen
import statsgen
import fandoms
import single
2 years ago
try:
if sys.argv[1] == "local":
local = True
else:
local = False
except:
local = False
if __name__ == "__main__":
if local == True:
feed.feedgen(True)
2 years ago
masterlist.listgen(True)
fandoms.fandomlist(True)
2 years ago
commentpage.allcomments(True)
commentpage.commentindex(True)
characters.charlist(True)
ships.shiplist(True)
events.eventlist(True)
wordcount.bywords(True)
2 years ago
indexgen.indexgen(True)
verifygen.verifygen(True)
statsgen.yeargen(True)
single.allsingles(True)
2 years ago
else:
feed.feedgen()
2 years ago
masterlist.listgen()
fandoms.fandomlist()
2 years ago
commentpage.allcomments()
commentpage.commentindex()
characters.charlist()
ships.shiplist()
events.eventlist()
wordcount.bywords()
2 years ago
indexgen.indexgen()
verifygen.verifygen()
statsgen.yeargen()
single.allsingles()