mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:48:44 +00:00
[wmlunits] fix path to error log
This commit is contained in:
parent
8b145520a5
commit
76a68a2c61
@ -47,6 +47,7 @@ def main(folder):
|
||||
total_n += n
|
||||
|
||||
name = f[len(folder) + 1:]
|
||||
error_name = os.path.join(name, "error.log")
|
||||
w('<tr><td>')
|
||||
w(name)
|
||||
w('</td><td>')
|
||||
@ -54,7 +55,7 @@ def main(folder):
|
||||
w('</td><td>')
|
||||
if os.path.exists(error_log):
|
||||
total_error_logs += 1
|
||||
w('<a href="%s">error.log</a>' % error_log)
|
||||
w('<a href="%s">error.log</a>' % error_name)
|
||||
w("</td></tr>")
|
||||
|
||||
w("<tr><td>")
|
||||
|
Loading…
x
Reference in New Issue
Block a user