Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonzorn committed May 10, 2024
1 parent 9cb9271 commit 9099599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nlightreader/parsers/combined/shikimori/shikimori_anime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 9099599

Please sign in to comment.