Compose DB out of data stored externally
This commit is contained in:
5
pyfa.py
5
pyfa.py
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user