diff options
| author | Timo Furrer <tuxtimo@gmail.com> | 2019-03-02 15:06:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-02 15:06:21 +0100 |
| commit | a10327a2833da8eee952d8b832afc33c3c55b282 (patch) | |
| tree | cf50b2c819fc562b90158264c7a05eb4727382f8 /tablib/core.py | |
| parent | dc24fda41505d9961cd43939893a1cea3598ad18 (diff) | |
| parent | e0de42ef061d90e92463964202d2807ce861f5c0 (diff) | |
| download | tablib-a10327a2833da8eee952d8b832afc33c3c55b282.tar.gz | |
Merge pull request #350 from browniebroke/bugfix/invalid-ascii-csv
Import ascii characters not valid with unicode literals - updated
Diffstat (limited to 'tablib/core.py')
| -rw-r--r-- | tablib/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py index 809bb6e..78c4dce 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -862,7 +862,7 @@ class Dataset(object): against each cell value. """ - if isinstance(col, str): + if isinstance(col, unicode): if col in self.headers: col = self.headers.index(col) # get 'key' index from each data else: |
