diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-10-24 15:07:47 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-10-24 15:07:47 +0200 |
commit | afd7c90db8139ddbc7c750dc926b6bb363c7dfc9 (patch) | |
tree | 6b4f3a418d024bfc3ff2d020c6243e43c664a341 /ishtar_common/data_importer.py | |
parent | 7d422608e8205ecc09d1de9093f5af798f827e27 (diff) | |
download | Ishtar-afd7c90db8139ddbc7c750dc926b6bb363c7dfc9.tar.bz2 Ishtar-afd7c90db8139ddbc7c750dc926b6bb363c7dfc9.zip |
Imports: concat, dont' add unecessary new line characters
Diffstat (limited to 'ishtar_common/data_importer.py')
-rw-r--r-- | ishtar_common/data_importer.py | 4 |
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 |