Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Sep 27, 2024
1 parent d11a092 commit d95fe63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plm/models/ir_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d95fe63

Please sign in to comment.