Fixed anidb refiner empty mapping episode reference not skipped

pull/2647/merge v1.4.4-beta.39
Anderson Shindy Oki 3 months ago
parent 5f7e1f68c7
commit deae4e52f0

@ -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:

Loading…
Cancel
Save