aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorTomislav Filipcic <[email protected]>2024-02-08 16:54:03 +0100
committerGitHub <[email protected]>2024-02-08 10:54:03 -0500
commit27d7f96599b0bf825052a146a0cb5def833f7ce9 (patch)
tree172c96ed40a7aa069ced8159b551d7a9d0864a8d /libs
parent12f1aa6acf4faf0b5621743423ce5ff3f1e3edf6 (diff)
downloadbazarr-27d7f96599b0bf825052a146a0cb5def833f7ce9.tar.gz
bazarr-27d7f96599b0bf825052a146a0cb5def833f7ce9.zip
Fixed podnapisi results parsing
Diffstat (limited to 'libs')
-rw-r--r--libs/subliminal_patch/providers/podnapisi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/podnapisi.py b/libs/subliminal_patch/providers/podnapisi.py
index 18131ff52..c5e5dbe56 100644
--- a/libs/subliminal_patch/providers/podnapisi.py
+++ b/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 int(xml.find('pagination/results').text):
+ if not xml.find('pagination/results') and not int(xml.find('pagination/results').text):
logger.debug('No subtitles found')
break