This commit is contained in:
cwx committed 2026-09-12 00:00:32 +08:00
1 parent 5449ca87b6
commit 4f542e426b
1 file changed
+1 -1
+1 -1
View File
@@ -182,7 +182,7 @@ class BaseSite(ABC):
cover_count = 1
for cover in list_cover:
cover_path = cover.path
# if os.path.exists(cover_path_prefix): os.remove(cover_path_prefix)
if os.path.exists(cover_path_prefix): os.remove(cover_path_prefix)
new_cover_path = FileNaming().cover_format_path(str(cbz_path).split(".")[0]+".jpg", count=cover_count)
if not os.path.exists(new_cover_path):
shutil.copy(cover_path, new_cover_path)