py2to3 automatic conversion. Woot!
This commit is contained in:
@@ -67,7 +67,7 @@ class exportHtmlThread(threading.Thread):
|
||||
FILE.write(HTML.encode('utf-8'))
|
||||
FILE.close()
|
||||
except IOError:
|
||||
print("Failed to write to " + settings.getPath())
|
||||
print(("Failed to write to " + settings.getPath()))
|
||||
pass
|
||||
|
||||
if self.callback:
|
||||
@@ -222,7 +222,7 @@ class exportHtmlThread(threading.Thread):
|
||||
return
|
||||
try:
|
||||
dnaFit = Port.exportDna(getFit(fit[0]))
|
||||
print dnaFit
|
||||
print(dnaFit)
|
||||
HTMLship += ' <li><a data-dna="' + dnaFit + '" target="_blank">' + fit[
|
||||
1] + '</a></li>\n'
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user