From 541fba67866833e43b741c50bcfccec914c36834 Mon Sep 17 00:00:00 2001 From: Thomas Roten Date: Sat, 28 Mar 2015 16:14:27 -0400 Subject: Fixes Row slicing. Fixes #184. --- tablib/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tablib/core.py') diff --git a/tablib/core.py b/tablib/core.py index f8e2df7..7afdd71 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -45,7 +45,7 @@ class Row(object): return repr(self._row) def __getslice__(self, i, j): - return self._row[i,j] + return self._row[i:j] def __getitem__(self, i): return self._row[i] -- cgit v1.2.1