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 | 02fa5437e2d8c1d1434d721d06dfc75a716a73b9 (patch) | |
tree | 6b4f3a418d024bfc3ff2d020c6243e43c664a341 /ishtar_common | |
parent | 81a663faf6a1cd71172e8262485c0a5ca8f8a12a (diff) | |
download | Ishtar-02fa5437e2d8c1d1434d721d06dfc75a716a73b9.tar.bz2 Ishtar-02fa5437e2d8c1d1434d721d06dfc75a716a73b9.zip |
Imports: concat, dont' add unecessary new line characters
Diffstat (limited to 'ishtar_common')
-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 |