import sys,variables try: if sys.argv[1] == "local": local = True else: local = False except: local = False if variables.trackgames == True: import backlog import library import sublibrary import history if __name__ == "__main__": if local == True: backlog.backlog(True) library.library(True) sublibrary.sublibrary(True) history.history(True) else: backlog.backlog() library.library() sublibrary.sublibrary() history.history()