Skip to content
Snippets Groups Projects
Commit 2e9289c5 authored by Mike Bayer's avatar Mike Bayer
Browse files

correction for line=None [ticket:25]

parent a7889d1b
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ def text_error_template(lookup=None):
Traceback (most recent call last):
% for (filename, lineno, function, line) in tback.traceback:
File "${filename}", line ${lineno}, in ${function or '?'}
${line.strip()}
${line | unicode.strip}
% endfor
${str(tback.error.__class__.__name__)}: ${str(tback.error)}
""")
......@@ -220,4 +220,4 @@ def html_error_template():
</body>
</html>
""")
\ No newline at end of file
""")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment