From f7b3b7ae0c0f2d1ff086e54dae275de38946b1db Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Wed, 25 Jul 2018 02:42:30 +0200 Subject: [PATCH] update --- muk_converter/service/unoconv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muk_converter/service/unoconv.py b/muk_converter/service/unoconv.py index 66d755b..95fb71a 100644 --- a/muk_converter/service/unoconv.py +++ b/muk_converter/service/unoconv.py @@ -125,7 +125,7 @@ def convert_binary(binary, mimetype=None, filename=None, export="binary", doctyp :return: Returns the output depending on the given format. :raises ValueError: The file extension could not be determined or the format is invalid. """ - extension = utils_os.get_extension(filename, mimetype) + extension = utils_os.get_extension(binary, filename, mimetype) if not extension: raise ValueError("The file extension could not be determined.") if format not in FORMATS: