tox
This commit is contained in:
@@ -175,7 +175,7 @@ class exportHtmlThread(threading.Thread):
|
||||
|
||||
count = 0
|
||||
|
||||
#todo: logging for export exceptions
|
||||
# todo: logging for export exceptions
|
||||
for group in categoryList:
|
||||
# init market group string to give ships something to attach to
|
||||
HTMLgroup = ''
|
||||
@@ -199,7 +199,7 @@ class exportHtmlThread(threading.Thread):
|
||||
dnaFit = Port.exportDna(getFit(fit[0]))
|
||||
HTMLgroup += ' <li><a data-dna="' + dnaFit + '" target="_blank">' + ship.name + ": " + \
|
||||
fit[1] + '</a></li>\n'
|
||||
except Exception, e:
|
||||
except:
|
||||
continue
|
||||
finally:
|
||||
if self.callback:
|
||||
@@ -222,7 +222,7 @@ class exportHtmlThread(threading.Thread):
|
||||
print dnaFit
|
||||
HTMLship += ' <li><a data-dna="' + dnaFit + '" target="_blank">' + fit[
|
||||
1] + '</a></li>\n'
|
||||
except Exception, e:
|
||||
except:
|
||||
continue
|
||||
finally:
|
||||
if self.callback:
|
||||
@@ -274,7 +274,7 @@ class exportHtmlThread(threading.Thread):
|
||||
dnaFit = Port.exportDna(getFit(fit[0]))
|
||||
HTML += '<a class="outOfGameBrowserLink" target="_blank" href="' + dnaUrl + dnaFit + '">' + ship.name + ': ' + \
|
||||
fit[1] + '</a><br> \n'
|
||||
except Exception, e:
|
||||
except:
|
||||
continue
|
||||
finally:
|
||||
if self.callback:
|
||||
|
||||
Reference in New Issue
Block a user