From a0686eefcf005a4db17b19f498d0cfa9bcdbc18d Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 26 Jun 2023 11:24:04 +0200 Subject: [PATCH] fix: [pystemon importer] fix base64 encoding --- bin/importer/abstract_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/importer/abstract_importer.py b/bin/importer/abstract_importer.py index e5155775..1c4b458d 100755 --- a/bin/importer/abstract_importer.py +++ b/bin/importer/abstract_importer.py @@ -89,7 +89,7 @@ def create_message(self, obj_id, content, b64=False, gzipped=False, source=None) if not gzipped: content = self.b64_gzip(content) elif not b64: - content = self.b64(gzipped) + content = self.b64(content) if not content: return None if isinstance(content, bytes):