Skip to content

Commit

Permalink
Set csv field_size_limit to sys.maxsize
Browse files Browse the repository at this point in the history
To proactively address TabViewer/tabview#150
  • Loading branch information
saulpw committed Oct 20, 2017
1 parent 67c431c commit 42e42b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions visidata/loaders/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
option('csv_quotechar', '"', 'quotechar passed to csv.reader')
option('csv_skipinitialspace', True, 'skipinitialspace passed to csv.reader')

csv.field_size_limit(sys.maxsize)

def open_csv(p):
vs = Sheet(p.name, p)
Expand Down

0 comments on commit 42e42b4

Please sign in to comment.