summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-03-23 00:49:25 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-03-23 00:49:25 -0400
commit2d2ac9b708a44bd7d6e22752c2afa71d1d848e3b (patch)
treec8306409f3abf7ff0707947c66fca4d912e90054
parent1efcb7a63dbb54206444c423804c54a45481f033 (diff)
downloadtablib-2d2ac9b708a44bd7d6e22752c2afa71d1d848e3b.tar.gz
col not key
-rw-r--r--tablib/core.py2
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