diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-03-01 17:06:15 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-03-01 17:06:15 -0500 |
| commit | 03914323c2077f61a40e4dd1a9a87de4214c5b2e (patch) | |
| tree | 9e326e7a3520883c8a6a56a5bdb11cc429252a3f /tablib/formats | |
| parent | e1734f2315bdb87f894911b1e031de39e7297bb6 (diff) | |
| parent | 2f331cee8ece577b54644efb7e2219ed61d75380 (diff) | |
| download | tablib-feature/xls-width.tar.gz | |
Merge https://github.com/playpauseandstop/tablib into developfeature/xls-width
Diffstat (limited to 'tablib/formats')
| -rw-r--r-- | tablib/formats/_csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/formats/_csv.py b/tablib/formats/_csv.py index 2c74a1c..b71755b 100644 --- a/tablib/formats/_csv.py +++ b/tablib/formats/_csv.py @@ -31,7 +31,7 @@ def import_set(dset, in_stream, headers=True): dset.wipe() - rows = csv.reader(in_stream.split()) + rows = csv.reader(in_stream.splitlines()) for i, row in enumerate(rows): if (i == 0) and (headers): |
