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:
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
|
||||
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…
Reference in a new issue