From: Fredrik Tolf Date: Sat, 11 May 2013 07:16:18 +0000 (+0200) Subject: Fixed cursor typo. X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=commitdiff_plain;h=f19ac53a8077eb7cdbd14bb106227c2f21a42bdc Fixed cursor typo. --- 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