diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 14:34:25 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 14:35:02 +0200 |
commit | e87be285da2557f3a684418c9f91c9dc22139fda (patch) | |
tree | a22f1e8ce124fa48d218d040b7eaafb33915d84b /ishtar_common/views_item.py | |
parent | 0a18b35422fd85f9cbb39796275bc90065c80689 (diff) | |
download | Ishtar-e87be285da2557f3a684418c9f91c9dc22139fda.tar.bz2 Ishtar-e87be285da2557f3a684418c9f91c9dc22139fda.zip |
Serialization - Import/Export: manage put an release of locks
Diffstat (limited to 'ishtar_common/views_item.py')
-rw-r--r-- | ishtar_common/views_item.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index 2c4cc1a55..6c10285db 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -282,7 +282,8 @@ def show_item(model, name, extra_dct=None, model_for_perms=None): pandoc_args = ["pandoc", "-f", "html", "-t", "odt", "-o", odt.name, html_source.name] try: - subprocess.check_call(pandoc_args) + subprocess.check_call(pandoc_args, stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL) except subprocess.CalledProcessError: return HttpResponse(content, content_type="application/xhtml") |