mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix: 增加入参判断
This commit is contained in:
+2
-1
@@ -549,7 +549,8 @@ class MediaChain(ChainBase, metaclass=Singleton):
|
|||||||
content = __download_image(image_url)
|
content = __download_image(image_url)
|
||||||
# 保存图片文件到剧集目录
|
# 保存图片文件到剧集目录
|
||||||
if content:
|
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)
|
__save_file(_fileitem=parent, _path=image_path, _content=content)
|
||||||
# 判断当前目录是不是剧集根目录
|
# 判断当前目录是不是剧集根目录
|
||||||
if not season_meta.season:
|
if not season_meta.season:
|
||||||
|
|||||||
Reference in New Issue
Block a user