From 6cea12bbc343b9cf214129f839623c03d678f7c7 Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Fri, 18 May 2018 18:17:26 +0200 Subject: [PATCH] - --- muk_converter/service/unoconv.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/muk_converter/service/unoconv.py b/muk_converter/service/unoconv.py index 291af85..db5a6bf 100644 --- a/muk_converter/service/unoconv.py +++ b/muk_converter/service/unoconv.py @@ -81,9 +81,6 @@ def unoconv_environ(): uno_path = config.get('uno_path', False) if uno_path: env['UNO_PATH'] = config['uno_path'] - - #env['UNO_PATH'] = "C:\\Program Files\\LibreOffice 5\\program" - return env def convert(input_path, output_path, doctype="document", format="pdf"): @@ -164,4 +161,4 @@ def convert_binary(binary, mimetype=None, filename=None, export="binary", doctyp else: return file.read() finally: - shutil.rmtree(tmp_dir) + shutil.rmtree(tmp_dir) \ No newline at end of file