Fixed cursor typo.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 11 May 2013 07:16:18 +0000 (09:16 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 11 May 2013 07:16:18 +0000 (09:16 +0200)
manga/lib.py

index d901e9f..a3fa9a6 100644 (file)
@@ -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