From 74f2c6646404b76821146e9b58bed12c53fc1186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nejc=20Kova=C4=8D?= <9419014+nate9976@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:05:43 +0200 Subject: [PATCH] Fixed Podnapisi not returning any subtitles --- custom_libs/subliminal_patch/providers/podnapisi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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