From 91b7004dc9353ffe2e5ac10df5720e2adff37b00 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 3 Sep 2009 22:38:40 +0200 Subject: [PATCH] BaseException.message has been deprecated as of Python 2.6 --- src/common/latex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/latex.py b/src/common/latex.py index d60922eb8..2d783726d 100644 --- a/src/common/latex.py +++ b/src/common/latex.py @@ -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_):