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