diff options
author | saddfox <[email protected]> | 2024-12-12 03:58:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-11 21:58:32 -0500 |
commit | 4df822d363b448b98000b6c4c6de054d8faa45e4 (patch) | |
tree | f30d311f63f1eb5b4d4a708d6ce8a9acaab61ab6 | |
parent | 63c36c8c184a5d7a34892f47e0f16d7b7ce6ea15 (diff) | |
download | bazarr-1.4.6-beta.29.tar.gz bazarr-1.4.6-beta.29.zip |
Fixed podnapisi not returning resultsv1.4.6-beta.29
-rw-r--r-- | custom_libs/subliminal_patch/providers/podnapisi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/podnapisi.py b/custom_libs/subliminal_patch/providers/podnapisi.py index d20accb99..5785570e1 100644 --- a/custom_libs/subliminal_patch/providers/podnapisi.py +++ b/custom_libs/subliminal_patch/providers/podnapisi.py @@ -209,7 +209,7 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin): break # exit if no results - if (not xml.find('pagination/results') or not xml.find('pagination/results').text or not + if (xml.find('pagination/results') is None or not xml.find('pagination/results').text or not int(xml.find('pagination/results').text)): logger.debug('No subtitles found') break |