diff --git a/config.py b/config.py index 5bdaec471..b039e01e6 100644 --- a/config.py +++ b/config.py @@ -184,6 +184,7 @@ def defPaths(customSavePath=None): # saveddata db location modifier, shouldn't ever need to touch this eos.config.saveddata_connectionstring = "sqlite:///" + saveDB + "?check_same_thread=False" eos.config.gamedata_connectionstring = "sqlite:///" + gameDB + "?check_same_thread=False" + eos.config.lang = language or eos.config.lang # initialize the settings from service.settings import EOSSettings diff --git a/eos/config.py b/eos/config.py index ce612880b..93faea892 100644 --- a/eos/config.py +++ b/eos/config.py @@ -13,6 +13,8 @@ saveddataCache = True gamedata_version = "" gamedata_date = "" gamedata_connectionstring = 'sqlite:///' + realpath(join(dirname(abspath(__file__)), "..", "eve.db")) +lang = "en_US" + pyfalog.debug("Gamedata connection string: {0}", gamedata_connectionstring) if istravis is True or hasattr(sys, '_called_from_test'):