diff --git a/config.py b/config.py index 1b84f837a..38dea6440 100644 --- a/config.py +++ b/config.py @@ -96,7 +96,9 @@ def defPaths(customSavePath): # The database where the static EVE data from the datadump is kept. # This is not the standard sqlite datadump but a modified version created by eos # maintenance script - gameDB = os.path.join(pyfaPath, "eve.db") + gameDB = getattr(configforced, "gameDB", gameDB) + if not gameDB: + gameDB = os.path.join(pyfaPath, "eve.db") # DON'T MODIFY ANYTHING BELOW import eos.config diff --git a/service/settings.py b/service/settings.py index 895a9d297..cdf84ea6e 100644 --- a/service/settings.py +++ b/service/settings.py @@ -263,7 +263,7 @@ class HTMLExportSettings(object): def __init__(self): serviceHTMLExportDefaultSettings = { - "path" : config.pyfaPath + os.sep + 'pyfaFits.html', + "path" : config.savePath + os.sep + 'pyfaFits.html', "minimal": False } self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings(