We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff489d3 commit 4e3c3beCopy full SHA for 4e3c3be
visidata/sheets.py
@@ -303,8 +303,9 @@ def loader(self):
303
self.rows = []
304
try:
305
with vd.Progress(gerund='loading', total=0):
306
+ m = self.options.max_rows
307
for i, r in enumerate(self.iterload()):
- if self.precious and i > self.options.max_rows:
308
+ if self.precious and i == m:
309
break
310
self.addRow(r)
311
except FileNotFoundError:
@@ -1051,8 +1052,9 @@ def loader(self):
1051
1052
1053
1054
# add the rest of the rows
1055
1056
for i, r in enumerate(vd.Progress(itsource, gerund='loading', total=0)):
1057
1058
1059
1060
0 commit comments