summaryrefslogtreecommitdiff
path: root/tablib/formats
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-03-01 17:06:15 -0500
committerKenneth Reitz <me@kennethreitz.com>2011-03-01 17:06:15 -0500
commit03914323c2077f61a40e4dd1a9a87de4214c5b2e (patch)
tree9e326e7a3520883c8a6a56a5bdb11cc429252a3f /tablib/formats
parente1734f2315bdb87f894911b1e031de39e7297bb6 (diff)
parent2f331cee8ece577b54644efb7e2219ed61d75380 (diff)
downloadtablib-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.py2
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):