Merge pull request #562 from DuLLSoN/master
Added website selection for HTML Export
This commit is contained in:
@@ -221,7 +221,7 @@ class HTMLExportSettings():
|
||||
return cls._instance
|
||||
|
||||
def __init__(self):
|
||||
serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html' }
|
||||
serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html', "website": "null-sec.com" }
|
||||
self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings)
|
||||
|
||||
def getEnabled(self):
|
||||
@@ -236,6 +236,12 @@ class HTMLExportSettings():
|
||||
def setPath(self, path):
|
||||
self.serviceHTMLExportSettings["path"] = path
|
||||
|
||||
def getWebsite(self):
|
||||
return self.serviceHTMLExportSettings["website"]
|
||||
|
||||
def setWebsite(self, website):
|
||||
self.serviceHTMLExportSettings["website"] = website
|
||||
|
||||
"""
|
||||
Settings used by update notification
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user