[wmlunits] add some debug info

This commit is contained in:
Allefant 2014-01-27 23:10:13 +01:00
parent 51e210f5e2
commit 62ddbd2f81
2 changed files with 2 additions and 1 deletions

View File

@ -1123,7 +1123,7 @@ def generate_single_unit_reports(addon, isocode, wesnoth):
def html_postprocess_file(filename, isocode, batchlist):
print("postprocessing " + filename)
print("postprocessing " + filename.encode("utf8"))
chtml = u""
ehtml = u""

View File

@ -477,6 +477,7 @@ def batch_process():
ef = open(logname, "a")
ef.write("<INTERNAL ERROR>\n")
ef.write("please report as bug")
ef.write(str(e))
ef.write("</INTERNAL ERROR>\n")
ef.close()
finally: