From bc959913ada31882c49bbfe510933edc9f043444 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Jul 2017 17:38:29 +0200 Subject: Remove debug --- ishtar_common/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e49044cfd..7f79df72f 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2475,10 +2475,9 @@ class Import(models.Model): encoding=encoding)] if tmpdir: shutil.rmtree(tmpdir) - print(encoding, imported_file, vals[0]) return vals except UnicodeDecodeError: - print(encoding, encodings) + pass # try the next encoding if tmpdir: shutil.rmtree(tmpdir) return [] -- cgit v1.2.3