1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-21 23:32:31 +00:00

Fixed anidb refiner empty mapping episode reference not skipped

This commit is contained in:
Anderson Shindy Oki 2024-09-02 00:15:02 +09:00
parent 5f7e1f68c7
commit deae4e52f0

View file

@ -113,6 +113,9 @@ class AniDBClient(object):
# Handle mapping list for Specials
if mapping_list:
for mapping in mapping_list.findall("mapping"):
if mapping.text is None:
continue
# Mapping values are usually like ;1-1;2-1;3-1;
for episode_ref in mapping.text.split(';'):
if not episode_ref: