Browse Source

Update unoconv.py

pull/6/head
Mathias Markl 7 years ago
committed by GitHub
parent
commit
27ddcda7b6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      muk_converter/service/unoconv.py

4
muk_converter/service/unoconv.py

@ -82,7 +82,7 @@ def unoconv_environ():
if uno_path:
env['UNO_PATH'] = config['uno_path']
env['UNO_PATH'] = "C:\\Program Files\\LibreOffice 5\\program"
#env['UNO_PATH'] = "C:\\Program Files\\LibreOffice 5\\program"
return env
@ -164,4 +164,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)
Loading…
Cancel
Save