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