diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-03-23 00:49:25 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-03-23 00:49:25 -0400 |
| commit | 2d2ac9b708a44bd7d6e22752c2afa71d1d848e3b (patch) | |
| tree | c8306409f3abf7ff0707947c66fca4d912e90054 | |
| parent | 1efcb7a63dbb54206444c423804c54a45481f033 (diff) | |
| download | tablib-2d2ac9b708a44bd7d6e22752c2afa71d1d848e3b.tar.gz | |
col not key
| -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 c4efce3..69a684b 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -501,7 +501,7 @@ class Dataset(object): if isinstance(col, basestring): if col in self.headers: - col = self.headers.index(key) # get 'key' index from each data + col = self.headers.index(col) # get 'key' index from each data else: raise KeyError |
