diff --git a/latex/latex.py b/latex/latex.py index 4a24daa..ecfb504 100644 --- a/latex/latex.py +++ b/latex/latex.py @@ -154,7 +154,8 @@ class LatexRenderer(Thread): try: tmpdir = mkdtemp(prefix='gajim_tex') - tmppng = mkstemp(prefix='gajim_tex', suffix='.png')[1] + tmpfd, tmppng = mkstemp(prefix='gajim_tex', suffix='.png') + tmpfd.close() except Exception: msg = 'Could not create temporary files for Latex plugin' log.debug(msg) diff --git a/latex/manifest.ini b/latex/manifest.ini index 2c8e925..e5e15d8 100644 --- a/latex/manifest.ini +++ b/latex/manifest.ini @@ -1,7 +1,7 @@ [info] name: Latex short_name: latex -version: 0.1.1 +version: 0.1.2 description: render received latex code authors: Yves Fischer Yann Leboulanger