mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #2336 from erasche/fix-for-the-nth-bloody-time
Unicodify has different semantics to str, causing bug reporter bug
This commit is contained in:
@@ -209,7 +209,8 @@ class ErrorReporter( object ):
|
||||
|
||||
# Escape all of the content for use in the HTML report
|
||||
for parameter in report_variables.keys():
|
||||
report_variables[parameter] = cgi.escape(unicodify(report_variables[parameter]))
|
||||
if report_variables[parameter] is not None:
|
||||
report_variables[parameter] = cgi.escape(unicodify(report_variables[parameter]))
|
||||
|
||||
self.html_report = string.Template( error_report_template_html ).safe_substitute( report_variables )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user