summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/data_importer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py
index 0462e2405..2e6289c88 100644
--- a/ishtar_common/data_importer.py
+++ b/ishtar_common/data_importer.py
@@ -830,9 +830,9 @@ class Importer(object):
if idx == (len(keys) - 1): # last
if concat:
if key not in current_data:
- current_data[key] = {}
+ current_data[key] = ""
if not value:
- value = ""
+ continue
current_data[key] = (current_data[key] + u"\n") \
if current_data[key] else u""
current_data[key] += value