mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
Merge pull request #338 from lepuchi/hotfix/csv-new-line
Handle case where there is an empty line in CSV
This commit is contained in:
@@ -44,7 +44,7 @@ def import_set(dset, in_stream, headers=True, **kwargs):
|
||||
|
||||
if (i == 0) and (headers):
|
||||
dset.headers = row
|
||||
else:
|
||||
elif row:
|
||||
dset.append(row)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user