fix #358
This commit is contained in:
parent
5dc11b07e3
commit
55c061176d
@ -252,7 +252,7 @@ class TransferChain(ChainBase):
|
||||
continue
|
||||
|
||||
# 汇总信息
|
||||
mkey = (file_mediainfo.tmdb_id, meta.begin_season)
|
||||
mkey = (file_mediainfo.tmdb_id, file_meta.begin_season)
|
||||
if mkey not in medias:
|
||||
# 新增信息
|
||||
metas[mkey] = file_meta
|
||||
|
@ -256,7 +256,10 @@ class MediaInfo:
|
||||
"""
|
||||
获取图片地址
|
||||
"""
|
||||
return getattr(self, f"{name}_path")
|
||||
try:
|
||||
return getattr(self, f"{name}_path")
|
||||
except AttributeError:
|
||||
return None
|
||||
|
||||
def set_category(self, cat: str):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user