diff options
-rw-r--r-- | bazarr/subtitles/refiners/anidb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bazarr/subtitles/refiners/anidb.py b/bazarr/subtitles/refiners/anidb.py index ea56adc3d..f896697bd 100644 --- a/bazarr/subtitles/refiners/anidb.py +++ b/bazarr/subtitles/refiners/anidb.py @@ -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: |