Drops null-sec.com as an option
It seems like it would be a good idea to make this user configurable so they could enter whatever domain they want. However with this entire HTML export feature being questionable, I didn't go that far. https://github.com/pyfa-org/Pyfa/issues/825 closes: https://github.com/pyfa-org/Pyfa/issues/826
This commit is contained in:
@@ -45,14 +45,10 @@ class exportHtmlThread(threading.Thread):
|
||||
|
||||
timestamp = time.localtime(time.time())
|
||||
localDate = "%d/%02d/%02d %02d:%02d" % (timestamp[0], timestamp[1], timestamp[2], timestamp[3], timestamp[4])
|
||||
|
||||
|
||||
minimal = settings.getMinimalEnabled();
|
||||
website = settings.getWebsite()
|
||||
if website == "o.smium.org":
|
||||
dnaUrl = "https://o.smium.org/loadout/dna/"
|
||||
elif website == "null-sec.com":
|
||||
dnaUrl = "https://null-sec.com/hangar/?dna="
|
||||
|
||||
dnaUrl = "https://o.smium.org/loadout/dna/"
|
||||
|
||||
if minimal:
|
||||
HTML = self.generateMinimalHTML(sMkt,sFit, dnaUrl)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user