fix
This commit is contained in:
parent
e084f76c5e
commit
a964ba6431
@ -139,7 +139,9 @@ class baseComic:
|
||||
#不存在ComicInfo.xml则生成
|
||||
ci.writeComicInfoXML()
|
||||
#图标
|
||||
if not is_next:
|
||||
downloadUtils.downQueueClear()
|
||||
CBZUtils.isUpdateOldCBZ()
|
||||
downloadUtils.putDownImageUrlDirFile(Comic.getIcon(),ComicPath.getDirConfComic(),ComicPath.COMIC_ICON_FILE_NAME)
|
||||
CBZUtils.isUpdateOldCBZ()
|
||||
downloadUtils.start_downloads(timeout=8)
|
||||
return is_next
|
||||
@ -167,7 +167,10 @@ class downloadUtils:
|
||||
"Accept-Encoding": "gzip, deflate, sdch",
|
||||
# 'Connection': 'close',
|
||||
}
|
||||
|
||||
|
||||
@classmethod
|
||||
def downQueueClear(cls): cls.QUEUE_DOWN = Queue()
|
||||
|
||||
@classmethod
|
||||
def putDownUrlDirFileType(cls,url,dir,file,type): cls.QUEUE_DOWN.put([url,dir,file,type])
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user