diff options
author | morpheus65535 <[email protected]> | 2024-09-04 06:53:30 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2024-09-04 06:53:30 -0400 |
commit | f6c5ee6bfcbe28c77380b417562ba4deba2c658a (patch) | |
tree | b283296bdc0342df62d55d9d65b3601fbc1660ce | |
parent | 4e365c6aa6f7e0786d8ceefdaa91099da59431f1 (diff) | |
download | bazarr-f6c5ee6bfcbe28c77380b417562ba4deba2c658a.tar.gz bazarr-f6c5ee6bfcbe28c77380b417562ba4deba2c658a.zip |
Fixed podnapisi AttributeErrorv1.4.4-beta.42
-rw-r--r-- | custom_libs/subliminal_patch/providers/podnapisi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/podnapisi.py b/custom_libs/subliminal_patch/providers/podnapisi.py index b13a47c4d..d20accb99 100644 --- a/custom_libs/subliminal_patch/providers/podnapisi.py +++ b/custom_libs/subliminal_patch/providers/podnapisi.py @@ -209,7 +209,8 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin): break # exit if no results - if not xml.find('pagination/results').text or not int(xml.find('pagination/results').text): + if (not xml.find('pagination/results') or not xml.find('pagination/results').text or not + int(xml.find('pagination/results').text)): logger.debug('No subtitles found') break |