From 63f477abf2d4722d686fb3f5c2ce87e84a019a52 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 12 Dec 2022 17:02:20 -0500 Subject: [PATCH] [53] update name --- VERSION | 2 +- modules/mal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 106ef08d..cd72c7fc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.0-develop52 +1.18.0-develop53 diff --git a/modules/mal.py b/modules/mal.py index 21ce90fb..c40bb619 100644 --- a/modules/mal.py +++ b/modules/mal.py @@ -108,8 +108,8 @@ class MyAnimeList: def studios(self): if not self._studios: for data in self._pagination("producers"): - self._studios[data["name"]] = int(data["mal_id"]) - self._studios[data["name"].lower()] = int(data["mal_id"]) + self._studios[data["titles"][0]["title"]] = int(data["mal_id"]) + self._studios[data["titles"][0]["title"].lower()] = int(data["mal_id"]) self._studios[str(data["mal_id"])] = int(data["mal_id"]) self._studios[int(data["mal_id"])] = data["titles"][0]["title"] return self._studios