Skip to content
Snippets Groups Projects
Commit 91b7004d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

BaseException.message has been deprecated as of Python 2.6

parent 682d6f83
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ def try_run(argv):
except Exception, e:
return _('Error executing "%(command)s": %(error)s') % {
'command': " ".join(argv),
'error': helpers.decode_string(e.message)}
'error': helpers.decode_string(str(e))}
def latex_to_image(str_):
......
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