mirror of
https://github.com/lcdr/utils.git
synced 2024-08-30 17:32:16 +00:00
Don't convert invalid rows if not adding link info.
This commit is contained in:
parent
0d133acbad
commit
3a1c0a73e0
@ -120,8 +120,6 @@ class convert:
|
|||||||
if row_pointer == -1:
|
if row_pointer == -1:
|
||||||
if self.add_link_info:
|
if self.add_link_info:
|
||||||
yield (None,) * (number_of_columns-1) + (True,) # invalid row
|
yield (None,) * (number_of_columns-1) + (True,) # invalid row
|
||||||
else:
|
|
||||||
yield (None,) * number_of_columns
|
|
||||||
rowid += 1
|
rowid += 1
|
||||||
else:
|
else:
|
||||||
linked_rows, rowid = self._read_row(rowid, pointer=row_pointer)
|
linked_rows, rowid = self._read_row(rowid, pointer=row_pointer)
|
||||||
|
Loading…
Reference in New Issue
Block a user