From 55064d642ba45c1e0df320997a4f7d84542e1d64 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Sun, 31 Mar 2024 15:58:29 +0800 Subject: [PATCH] fix --- Comics/spiders/rm_comic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Comics/spiders/rm_comic.py b/Comics/spiders/rm_comic.py index 734f5e2..73a51bd 100644 --- a/Comics/spiders/rm_comic.py +++ b/Comics/spiders/rm_comic.py @@ -35,8 +35,8 @@ class RmComicSpider(scrapy.Spider): # 打包导出item数据 item = comic_item.load_item(chapter=chapter) # 获取最终存放CBZ的路径 - #cbz_path = ComicPath(item=item).file_path(ComicPath.PATH_CBZ, convert=True, chapter=chapter) - cbz_path = ComicPath(item=item).PATH_CBZ() + cbz_path = ComicPath(item=item).file_path(ComicPath.PATH_CBZ, convert=True, chapter=chapter) + #cbz_path = ComicPath(item=item).PATH_CBZ() # 校验繁体和简体中文CBZ路径是否存在 # if not checkUtils().is_error(item) and os.path.exists(cbz_path): if os.path.exists(cbz_path):