diff options
author | Denis Fomin <fominde@gmail.com> | 2013-01-29 22:10:56 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-01-29 22:10:56 +0400 |
commit | fbd7bb59e79b8978e81542ac09b1eba0c7f171b2 (patch) | |
tree | e796091316b0a29d5c60930bbe8a6a6a408c9587 | |
parent | d6715ad6c8a409e21e982ea79ea1eea069d0ebc5 (diff) |
LatexPlugin.fix traceback on start Gajim
-rw-r--r-- | latex/latex.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/latex/latex.py b/latex/latex.py index 30216a3..10fbfa9 100644 --- a/latex/latex.py +++ b/latex/latex.py @@ -33,7 +33,6 @@ import random from subprocess import Popen, PIPE from common import gajim -from common import helpers from plugins import GajimPlugin from plugins.helpers import log, log_calls from plugins.gui import GajimPluginConfigDialog @@ -79,7 +78,7 @@ def try_run(argv, directory): except Exception as e: return _('Error executing "%(command)s": %(error)s') % { 'command': " ".join(argv), - 'error': helpers.decode_string(str(e))} + 'error': str(e)} BLACKLIST = ['\def', '\\let', '\\futurelet', '\\newcommand', '\\renewcomment', '\\else', '\\fi', '\\write', '\\input', '\\include', '\\chardef', @@ -402,4 +401,3 @@ class LatexPlugin(GajimPlugin): tv.get_buffer().disconnect(d['h_id']) self.latex_tag.disconnect(d['tag_id']) - |