Compose DB out of data stored externally

This commit is contained in:
DarkPhoenix
2019-10-30 14:56:51 +03:00
parent 9e78cd1076
commit 39dc7e4a46
22 changed files with 4019684 additions and 28 deletions

View File

@@ -26,6 +26,7 @@ from optparse import AmbiguousOptionError, BadOptionError, OptionParser
import config
from service.prereqsCheck import PreCheckException, PreCheckMessage, version_block, version_precheck
from db_update import db_needs_update, update_db
# ascii_text = '''
@@ -116,6 +117,10 @@ if __name__ == "__main__":
else:
pyfalog.info("Running in a thawed state.")
if db_needs_update() is True:
pyfalog.info("Gamedata needs an update")
update_db()
# Lets get to the good stuff, shall we?
import eos.db
import eos.events # todo: move this to eos initialization?