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