Skip to content

Commit

Permalink
Tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
themiurgo committed Jan 8, 2016
1 parent 9ade89d commit 986998d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csvkit/utilities/csvlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main(self):
for i, row in enumerate(rows):
# Each row is made of inner rows because of text wrapping
row = [d or '' for d in row]
n_inner_rows = int(max([len(d) for d in row]) / max_chars) + 1
n_inner_rows = int(max([len(d)-1 for d in row]) / max_chars) + 1
inner_rows = [[d[j*max_chars:(j+1)*max_chars] for d in row]
for j in range(n_inner_rows)]

Expand Down

0 comments on commit 986998d

Please sign in to comment.