From f19ac53a8077eb7cdbd14bb106227c2f21a42bdc Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 11 May 2013 09:16:18 +0200 Subject: [PATCH] Fixed cursor typo. --- manga/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manga/lib.py b/manga/lib.py index d901e9f..a3fa9a6 100644 --- a/manga/lib.py +++ b/manga/lib.py @@ -162,7 +162,7 @@ class cursor(object): raise StopIteration() def prev(self): - for n, i in reversed(self.cur,stack): + for n, i in reversed(self.cur.stack): if i > 0: self.cur = self.descend(n[i - 1]) return self.cur -- 2.11.0