From a49b3d93a8338bb5680fda8d40df22415f4975be Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 23 Feb 2015 15:48:46 +0100 Subject: Data importer: fix STR_CUT --- ishtar_common/data_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/data_importer.py') diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py index 3a321c7fd..6b021e6f3 100644 --- a/ishtar_common/data_importer.py +++ b/ishtar_common/data_importer.py @@ -882,7 +882,7 @@ class Importer(object): if path in self.STR_CUT: for k in self.STR_CUT[path]: if k in data and data[k]: - data[k] = unicode(data[k])[:self.STR_CUT[k]] + data[k] = unicode(data[k])[:self.STR_CUT[path][k]] # filter default values create_dict = copy.deepcopy(data) -- cgit v1.2.3