From d95fe6316db7a5c8dbdd64fe900d2c62492c92a4 Mon Sep 17 00:00:00 2001 From: Matteo Boscolo Date: Fri, 27 Sep 2024 16:04:14 +0200 Subject: [PATCH] fix error --- plm/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plm/models/ir_attachment.py b/plm/models/ir_attachment.py index d4819c02..d25cb407 100755 --- a/plm/models/ir_attachment.py +++ b/plm/models/ir_attachment.py @@ -123,7 +123,7 @@ def _compute_datas(self): for attach in self: attach.datas = binascii.a2b_base64(attach.raw or b'') - attach.datas = self.get_stream_b64encode(attach.raw or b'') + #attach.datas = self.get_stream_b64encode(attach.raw or b'') def get_stream_b64encode(self, from_stream): source = io.BytesIO()