mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 07:42:32 +00:00
Fixed anidb refiner empty mapping episode reference not skipped
This commit is contained in:
parent
5f7e1f68c7
commit
deae4e52f0
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ class AniDBClient(object):
|
||||||
# Handle mapping list for Specials
|
# Handle mapping list for Specials
|
||||||
if mapping_list:
|
if mapping_list:
|
||||||
for mapping in mapping_list.findall("mapping"):
|
for mapping in mapping_list.findall("mapping"):
|
||||||
|
if mapping.text is None:
|
||||||
|
continue
|
||||||
|
|
||||||
# Mapping values are usually like ;1-1;2-1;3-1;
|
# Mapping values are usually like ;1-1;2-1;3-1;
|
||||||
for episode_ref in mapping.text.split(';'):
|
for episode_ref in mapping.text.split(';'):
|
||||||
if not episode_ref:
|
if not episode_ref:
|
||||||
|
|
Loading…
Reference in a new issue