mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-03-22 09:27:49 -04:00
Fix anilist tvdbid parsed as movie
This commit is contained in:
parent
745da460bc
commit
526b33cf2c
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user