Skip to content

Commit

Permalink
Update sheets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw authored Dec 24, 2024
1 parent fb16436 commit b100489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def loader(self):
# add the rest of the rows
max_rows = self.options.max_rows
for i, r in enumerate(vd.Progress(itsource, gerund='loading', total=0)):
if self.precious and i == max_rows:
if self.precious and i >= max_rows:
break
self.addRow(r)

Expand Down

0 comments on commit b100489

Please sign in to comment.