X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=manga%2Flib.py;h=8cc96cb712d9f398f0c18bda1a839fe74b953c93;hb=36ec46b3e26fe306a16a4686f51cd76e99c35df1;hp=54bcb77efcee831379ba09e03a5319638feb4ea4;hpb=742cc3968298869f5f0dd214257a02844b1ebdfc;p=automanga.git diff --git a/manga/lib.py b/manga/lib.py index 54bcb77..8cc96cb 100644 --- a/manga/lib.py +++ b/manga/lib.py @@ -206,6 +206,9 @@ class cursor(object): return self.cur raise StopIteration() + def __next__(self): + return self.next() + def prev(self): for n, i in reversed(self.cur.stack): if i > 0: