X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=manga%2Flib.py;h=e7c531cd189375201bbc6c51a619be3ff9029e95;hb=d8bea304f828ed02f5f1984ae1245b1074c82830;hp=52f75ea9f5e3e60630be362f2519c1d4921e91fd;hpb=6fab7b55f6e82999ee5d3ebf241ecf69c0fa73ff;p=automanga.git diff --git a/manga/lib.py b/manga/lib.py index 52f75ea..e7c531c 100644 --- a/manga/lib.py +++ b/manga/lib.py @@ -134,7 +134,10 @@ class imgstream(object): class cursor(object): def __init__(self, ob): - self.cur = self.descend(ob) + if isinstance(ob, cursor): + self.cur = ob.cur + else: + self.cur = self.descend(ob) def descend(self, ob): while isinstance(ob, pagelist):