fix
This commit is contained in:
1 parent
5449ca87b6
commit
4f542e426b
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user