diff options
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 1 insertions, 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 [] |