From e4f906eb45f67eee0955741c661005d46a0d5364 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 9 Feb 2026 12:25:47 +0100 Subject: 🐛 imports: manage \t and \n for concat string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/data_importer.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py index 7287fc058..80392218d 100644 --- a/ishtar_common/data_importer.py +++ b/ishtar_common/data_importer.py @@ -111,6 +111,13 @@ class ImportFormater: self.post_processing = post_processing # concatenate with existing value self.concat = concat + if concat_str: + if not isinstance(concat_str, (tuple, list)): + concat_str = [concat_str] + concat_str = [ + c.replace("\\t", "\t").replace("\\n", "\n") if c is not None else c + for c in concat_str + ] self.concat_str = concat_str self.comment = comment self.force_new = force_new -- cgit v1.2.3