Fix anilist tvdbid parsed as movie

This commit is contained in:
Zoe Roux 2026-03-19 19:12:34 +01:00
parent 745da460bc
commit 526b33cf2c
No known key found for this signature in database

View File

@ -67,7 +67,7 @@ class AnimeListDb(BaseXmlModel, tag="anime-list"):
@classmethod
def _empty_to_none(cls, v: str | None) -> str | None:
# pornographic titles have this id.
if v == "hentai" or v == "":
if v == "hentai" or v == "movie" or v == "":
return None
return v