From 1fd4087b416026a42b76bee38b59782e8239f97b Mon Sep 17 00:00:00 2001 From: benex Date: Tue, 3 Dec 2024 12:32:08 +0300 Subject: [PATCH] fix: type errors --- fastanime/cli/interfaces/anilist_interfaces.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fastanime/cli/interfaces/anilist_interfaces.py b/fastanime/cli/interfaces/anilist_interfaces.py index 52ea0b2..dfbe723 100644 --- a/fastanime/cli/interfaces/anilist_interfaces.py +++ b/fastanime/cli/interfaces/anilist_interfaces.py @@ -1361,8 +1361,10 @@ def _relations(config: "Config", fastanime_runtime_state: "FastAnimeRuntimeState fastanime_runtime_state.anilist_results_data = { "data": { "Page": { - "media": relations[1]["data"]["Media"]["relations"]["nodes"] - } # pyright:ignore + "media": relations[1]["data"]["Media"]["relations"][ + "nodes" + ] # pyright:ignore + } } } anilist_results_menu(config, fastanime_runtime_state)