Prepare for adding other trackers

This commit is contained in:
mez 2024-06-19 15:52:15 +01:00
parent 6a8a0c40e6
commit 29ab288b65
29 changed files with 224 additions and 201 deletions

26
generategames.py Normal file
View file

@ -0,0 +1,26 @@
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()