From a47774472de0fab2fa9b8cf8802df69004373304 Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 5 Jan 2024 11:50:05 +0800 Subject: [PATCH] fix bug --- app/modules/themoviedb/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/themoviedb/scraper.py b/app/modules/themoviedb/scraper.py index 49144bbf..5fff3b2a 100644 --- a/app/modules/themoviedb/scraper.py +++ b/app/modules/themoviedb/scraper.py @@ -81,7 +81,7 @@ class TmdbScraper: dir_path=file_path.parents[1]) # 生成根目录图片 for attr_name, attr_value in vars(mediainfo).items(): - if attr_value \ + if attr_name \ and attr_name.endswith("_path") \ and not attr_name.startswith("season") \ and attr_value \