mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
[wmlunits] add some debug info
This commit is contained in:
parent
51e210f5e2
commit
62ddbd2f81
@ -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…
x
Reference in New Issue
Block a user