summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/data_importer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py
index 974c63e44..b8ab477f1 100644
--- a/ishtar_common/data_importer.py
+++ b/ishtar_common/data_importer.py
@@ -1593,7 +1593,8 @@ class Importer(object):
m2ms += self._get_field_m2m(attribute, data, c_path,
new_created, field_object)
except Exception as e:
- self.errors.append((self.idx_line, None, e.message))
+ self.errors.append(
+ (self.idx_line, None, e.message.decode('utf-8')))
return
if not hasattr(field_object, 'rel') or not field_object.rel:
return