[wmlunits] add some debug info
This commit is contained in:
parent
51e210f5e2
commit
62ddbd2f81
2 changed files with 2 additions and 1 deletions
|
@ -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""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue