summaryrefslogtreecommitdiffhomepage
path: root/custom_libs
diff options
context:
space:
mode:
authorNejc Kovač <[email protected]>2024-08-27 13:05:43 +0200
committerGitHub <[email protected]>2024-08-27 07:05:43 -0400
commit74f2c6646404b76821146e9b58bed12c53fc1186 (patch)
treebb063bf435bba36ed1c7c9a7c50d7f5e57729820 /custom_libs
parentee622e64b44a71991c29cf545432c43f9bd92ec0 (diff)
downloadbazarr-74f2c6646404b76821146e9b58bed12c53fc1186.tar.gz
bazarr-74f2c6646404b76821146e9b58bed12c53fc1186.zip
Fixed Podnapisi not returning any subtitles
Diffstat (limited to 'custom_libs')
-rw-r--r--custom_libs/subliminal_patch/providers/podnapisi.py2
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 18131ff52..b13a47c4d 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 int(xml.find('pagination/results').text):
+ if not xml.find('pagination/results').text or not int(xml.find('pagination/results').text):
logger.debug('No subtitles found')
break