From 89e651b2799a2a159f6d7d0e8e89e289d76cff80 Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Sun, 8 May 2022 02:51:24 +0800 Subject: [PATCH] Fix actor_photo None --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 6465a1e..03d9cc3 100644 --- a/core.py +++ b/core.py @@ -60,7 +60,7 @@ def get_info(json_data): # 返回json里的数据 outline = json_data.get('outline') runtime = json_data.get('runtime') director = json_data.get('director') - actor_photo = json_data.get('actor_photo') + actor_photo = json_data.get('actor_photo', {}) release = json_data.get('release') number = json_data.get('number') cover = json_data.get('cover')