summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-20 17:38:29 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-20 17:38:29 +0200
commitbc959913ada31882c49bbfe510933edc9f043444 (patch)
treec99bf0762ca9096681714d96a2ee1c6d01f7d41a
parentc89fd76e88e9d345399d7565803fa3b6c0e7fa21 (diff)
downloadIshtar-bc959913ada31882c49bbfe510933edc9f043444.tar.bz2
Ishtar-bc959913ada31882c49bbfe510933edc9f043444.zip
Remove debug
-rw-r--r--ishtar_common/models.py3
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 []