fix
This commit is contained in:
parent
f3ee7bccc2
commit
6e88c7277d
@ -21,10 +21,8 @@ class baseComic:
|
||||
@classmethod
|
||||
def updateComics(cls,chapters_xpath):
|
||||
comics = ListComic.getListComicsLinksUpdateAt()
|
||||
try:
|
||||
(book_name,comic_href,updated) = [comics[0],comics[1],comics[2]]
|
||||
except:
|
||||
return False
|
||||
if comics == None: return False
|
||||
(book_name,comic_href,updated) = [comics[0],comics[1],comics[2]]
|
||||
cls.updateOneComic(book_name,comic_href,updated,chapters_xpath)
|
||||
return True
|
||||
|
||||
|
||||
@ -37,5 +37,4 @@ class comicEntity:
|
||||
|
||||
@classmethod
|
||||
def start(cls,url):
|
||||
is_next = cls.downladsComcis(url)
|
||||
while is_next: cls.oneComic()
|
||||
while cls.downladsComcis(url): cls.oneComic()
|
||||
Loading…
Reference in New Issue
Block a user