Skip to content

Commit

Permalink
Bugfix for clevercsv_grow detector
Browse files Browse the repository at this point in the history
  • Loading branch information
GjjvdBurg committed Aug 21, 2020
1 parent 9b7d4e6 commit 3ce192d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comparison/detector_clevercsv_grow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def detector(filename, encoding, n_lines=None, lines_start=100, n_equal=5):
dialects.append(detect_dialect(filename, encoding, max_lines))

while (
not trailing_equality(dialects, n_equal) and current_lines < max_lines
not trailing_equality(dialects, n_equal) and current_lines <= max_lines
):
dialects.append(detect_dialect(filename, encoding, current_lines))
current_lines *= 2
Expand Down

0 comments on commit 3ce192d

Please sign in to comment.