summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-09-02 00:15:02 +0900
committerAnderson Shindy Oki <[email protected]>2024-09-02 00:15:02 +0900
commitdeae4e52f0eabda1a6014bafcacf3ec121b8b430 (patch)
tree86269d81a1f58875f34219740fea4b5e8e9ccd89
parent5f7e1f68c706a2f71dca0ed8b6763416d51342bb (diff)
downloadbazarr-1.4.4-beta.39.tar.gz
bazarr-1.4.4-beta.39.zip
Fixed anidb refiner empty mapping episode reference not skippedv1.4.4-beta.39
-rw-r--r--bazarr/subtitles/refiners/anidb.py3
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: