Automate dumpSprites.py - and then remove it

This commit is contained in:
Fabian Dill
2021-07-20 18:23:06 +02:00
parent 3bfb98a1c6
commit b53c5593a8
351 changed files with 54 additions and 1762 deletions

View File

@@ -11,6 +11,7 @@ from waitress import serve
from WebHostLib.models import db
from WebHostLib.autolauncher import autohost
from WebHostLib.lttpsprites import update_sprites_lttp
configpath = os.path.abspath("config.yaml")
@@ -30,6 +31,7 @@ if __name__ == "__main__":
multiprocessing.freeze_support()
multiprocessing.set_start_method('spawn')
logging.basicConfig(format='[%(asctime)s] %(message)s', level=logging.INFO)
update_sprites_lttp()
app = get_app()
if app.config["SELFLAUNCH"]:
autohost(app.config)