Dolda2000 GitWeb
/
automanga.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e259d
)
Fixed Batoto reversal bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 4 Dec 2013 00:12:35 +0000
(
01:12
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 4 Dec 2013 00:12:35 +0000
(
01:12
+0100)
manga/batoto.py
patch
|
blob
|
blame
|
history
diff --git
a/manga/batoto.py
b/manga/batoto.py
index
4e957b5
..
6869973
100644
(file)
--- a/
manga/batoto.py
+++ b/
manga/batoto.py
@@
-109,9
+109,12
@@
class manga(lib.manga):
cid = m.group(1)
url = self.lib.base + "read/_/" + cid
name = ch.td.a.text
- cch.append(
chapter(self, [(self, len(cch))],
cid, name, url))
+ cch.append(
(
cid, name, url))
cch.reverse()
- self.cch = cch
+ rch = []
+ for n, (cid, name, url) in enumerate(cch):
+ rch.append(chapter(self, [(self, n)], cid, name, url))
+ self.cch = rch
return self.cch
def __str__(self):