Fix bug in importer, when there are no source data records.
This commit is contained in:
parent
2d9efb44cd
commit
a8b9c5d803
|
@ -102,7 +102,7 @@ class Importer(Object):
|
||||||
if count is None:
|
if count is None:
|
||||||
count = len(records)
|
count = len(records)
|
||||||
if count == 0:
|
if count == 0:
|
||||||
return 0
|
return [], []
|
||||||
|
|
||||||
self.fields = fields
|
self.fields = fields
|
||||||
self.key = key
|
self.key = key
|
||||||
|
|
Loading…
Reference in a new issue