summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2024-02-08 13:12:34 -0500
committermorpheus65535 <[email protected]>2024-02-08 13:12:34 -0500
commit90e4cf1c6fa17ea179fa808025b7e23b1e106201 (patch)
treef19648a2c1c51a17b671e8672de2c8fc35dfca83
parent27d7f96599b0bf825052a146a0cb5def833f7ce9 (diff)
downloadbazarr-1.4.2-beta.1.tar.gz
bazarr-1.4.2-beta.1.zip
Revert "Fixed podnapisi results parsing"v1.4.2-beta.1
This reverts commit 27d7f96599b0bf825052a146a0cb5def833f7ce9.
-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 c5e5dbe56..18131ff52 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') and not int(xml.find('pagination/results').text):
+ if not xml.find('pagination/results') or not int(xml.find('pagination/results').text):
logger.debug('No subtitles found')
break