diff --git a/latex/latex.py b/latex/latex.py index ecfb504..b5106e3 100644 --- a/latex/latex.py +++ b/latex/latex.py @@ -155,7 +155,7 @@ class LatexRenderer(Thread): try: tmpdir = mkdtemp(prefix='gajim_tex') tmpfd, tmppng = mkstemp(prefix='gajim_tex', suffix='.png') - tmpfd.close() + os.close(tmpfd) 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 65e3513..cf7fa13 100644 --- a/latex/manifest.ini +++ b/latex/manifest.ini @@ -1,7 +1,7 @@ [info] name: Latex short_name: latex -version: 0.1.3 +version: 0.2 description: render received latex code authors: Yves Fischer Yann Leboulanger