Merge pull request #1124 from StinGer-ShoGuN/PR_01
Default HTML export to pyfa save path, and allow override of database file path
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user