From a1d65b7c870605d8a6d9b338f68f444be7bc21af Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 7 Jun 2023 18:35:04 +0800 Subject: [PATCH] fix context --- app/core/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/context.py b/app/core/context.py index 2c1eb8dc..02e5fed4 100644 --- a/app/core/context.py +++ b/app/core/context.py @@ -206,10 +206,10 @@ class MediaInfo(object): return [], [] directors = [] actors = [] - for cast in self.__dict_media_casts(_credits.get("cast")): + for cast in _credits.get("cast"): if cast.get("known_for_department") == "Acting": actors.append(cast) - for crew in self.__dict_media_crews(_credits.get("crew")): + for crew in _credits.get("crew"): if crew.get("job") == "Director": directors.append(crew) return directors, actors