@@ -, +, @@ --- service/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/service/settings.py +++ a/service/settings.py @@ -21,6 +21,7 @@ import cPickle import os.path import config import urllib2 +import sys class SettingsProvider(): BASE_PATH = os.path.join(config.savePath, "settings") @@ -221,7 +222,7 @@ class HTMLExportSettings(): return cls._instance def __init__(self): - serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html', "website": "null-sec.com", "minimal": False } + serviceHTMLExportDefaultSettings = {"enabled": False, "path": unicode(os.path.expanduser(os.path.join('~', 'pyfaFits.html')), sys.getfilesystemencoding()), "website": "null-sec.com" } self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings) def getEnabled(self): --