From 9099599e2ea9bee9f2d59d81992a37c272305714 Mon Sep 17 00:00:00 2001 From: bzorn Date: Fri, 10 May 2024 20:13:21 +0300 Subject: [PATCH] flake8 --- nlightreader/parsers/combined/shikimori/shikimori_anime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nlightreader/parsers/combined/shikimori/shikimori_anime.py b/nlightreader/parsers/combined/shikimori/shikimori_anime.py index bae88be..1cbca4c 100644 --- a/nlightreader/parsers/combined/shikimori/shikimori_anime.py +++ b/nlightreader/parsers/combined/shikimori/shikimori_anime.py @@ -88,11 +88,11 @@ def get_genres(self): url = f"{self.url_api}/genres" response = get_html(url, headers=self.headers, content_type="json") if response: - return [ + return [ Genre( str(i["id"]), self.CATALOG_ID, i["name"], i["russian"], ) for i in response if i["entry_type"] == "Anime" - ] + ] return [] def get_orders(self) -> list[Order]: