From ba449dc6eaba8a91de83cc62a890a7a0a0e626e2 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 13 Jul 2019 20:32:01 +0000 Subject: [PATCH] publish muk_converter - 11.0 --- muk_converter/__manifest__.py | 2 +- muk_converter/models/converter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_converter/__manifest__.py b/muk_converter/__manifest__.py index 81bf9b8..197fa1d 100644 --- a/muk_converter/__manifest__.py +++ b/muk_converter/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Converter", "summary": """Universal Converter""", - "version": '11.0.1.2.5', + "version": '11.0.1.2.6', "category": 'Extra Tools', "license": "AGPL-3", "website": "https://www.mukit.at", diff --git a/muk_converter/models/converter.py b/muk_converter/models/converter.py index b8b0d30..daa9dd2 100644 --- a/muk_converter/models/converter.py +++ b/muk_converter/models/converter.py @@ -48,7 +48,7 @@ class Converter(models.AbstractModel): @api.model def convert(self, filename, content, format="pdf", recompute=False, store=True): binary_content = base64.b64decode(content) - output = self.convert_raw(filename, content, format=format, recompute=recompute, store=store) + output = self.convert_raw(filename, binary_content, format=format, recompute=recompute, store=store) return base64.b64encode(output) @api.model