fix
This commit is contained in:
1 parent
e084f76c5e
commit
a964ba6431
2 files changed
+6
-1
No files matched your search
@@ -139,7 +139,9 @@ class baseComic:
|
|||||||
#不存在ComicInfo.xml则生成
|
#不存在ComicInfo.xml则生成
|
||||||
ci.writeComicInfoXML()
|
ci.writeComicInfoXML()
|
||||||
#图标
|
#图标
|
||||||
downloadUtils.putDownImageUrlDirFile(Comic.getIcon(),ComicPath.getDirConfComic(),ComicPath.COMIC_ICON_FILE_NAME)
|
if not is_next:
|
||||||
|
downloadUtils.downQueueClear()
|
||||||
CBZUtils.isUpdateOldCBZ()
|
CBZUtils.isUpdateOldCBZ()
|
||||||
|
downloadUtils.putDownImageUrlDirFile(Comic.getIcon(),ComicPath.getDirConfComic(),ComicPath.COMIC_ICON_FILE_NAME)
|
||||||
downloadUtils.start_downloads(timeout=8)
|
downloadUtils.start_downloads(timeout=8)
|
||||||
return is_next
|
return is_next
|
||||||
@@ -168,6 +168,9 @@ class downloadUtils:
|
|||||||
# 'Connection': 'close',
|
# 'Connection': 'close',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def downQueueClear(cls): cls.QUEUE_DOWN = Queue()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def putDownUrlDirFileType(cls,url,dir,file,type): cls.QUEUE_DOWN.put([url,dir,file,type])
|
def putDownUrlDirFileType(cls,url,dir,file,type): cls.QUEUE_DOWN.put([url,dir,file,type])
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user