fix
This commit is contained in:
parent
190121dcfb
commit
9fb7cd3dad
@ -35,7 +35,7 @@ class baseComic:
|
|||||||
#添加
|
#添加
|
||||||
Comic.setComicName(book_name)
|
Comic.setComicName(book_name)
|
||||||
Comic.setUpdateAt(update_at)
|
Comic.setUpdateAt(update_at)
|
||||||
if not ciUtils.isUpdateComic(book_name):
|
if not ciUtils.isUpdateComic():
|
||||||
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
|
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
|
||||||
Comic.setCurrentDownLink(comic_href)
|
Comic.setCurrentDownLink(comic_href)
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -183,9 +183,9 @@ class ComicInfoUtils:
|
|||||||
db.set(Comic.getOriginComicName(), update_at, "update")
|
db.set(Comic.getOriginComicName(), update_at, "update")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def isUpdateComic(cls,comic_name,update_at=None):
|
def isUpdateComic(cls,update_at=None):
|
||||||
if update_at == None: update_at = Comic.getUpdateAt()
|
if update_at == None: update_at = Comic.getUpdateAt()
|
||||||
return db.query(comic_name, update_at,"update")
|
return db.query(Comic.getOriginComicName(), update_at,"update")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def comicChapterDownload(cls,imgs,names):
|
def comicChapterDownload(cls,imgs,names):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user