This commit is contained in:
caiwx86 2025-02-04 02:54:52 +08:00
parent f43de7cec5
commit 1a1ceff7c2

View File

@ -126,7 +126,7 @@ class BaseSite(ABC):
if f_item.md5 == cache_cover_item.md5: is_update += 1
if is_update == 0:
new_cover = { 'path' : FileNaming.cover_format_path(cover_img["path"]) }
shutil.move(cache_cover["path"], new_cover["path"])
shutil.copy(cache_cover["path"], new_cover["path"])
list_cover.append(CoverItem(**new_cover))
except Exception:
raise exit("Cover 检测异常")