mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
fix: 增加入参判断
This commit is contained in:
@@ -549,7 +549,8 @@ class MediaChain(ChainBase, metaclass=Singleton):
|
||||
content = __download_image(image_url)
|
||||
# 保存图片文件到剧集目录
|
||||
if content:
|
||||
parent = self.storagechain.get_parent_item(fileitem)
|
||||
if not parent:
|
||||
parent = self.storagechain.get_parent_item(fileitem)
|
||||
__save_file(_fileitem=parent, _path=image_path, _content=content)
|
||||
# 判断当前目录是不是剧集根目录
|
||||
if not season_meta.season:
|
||||
|
||||
Reference in New Issue
Block a user