This commit is contained in:
blitzman
2017-02-26 14:26:32 -05:00
parent cd516f80bb
commit 821298b6d0
4 changed files with 26 additions and 20 deletions

View File

@@ -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: