Fix bug in importer, when there are no source data records.
This commit is contained in:
parent
2d9efb44cd
commit
a8b9c5d803
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue