fix
This commit is contained in:
parent
f43de7cec5
commit
1a1ceff7c2
@ -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 检测异常")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user