From 27d7f96599b0bf825052a146a0cb5def833f7ce9 Mon Sep 17 00:00:00 2001 From: Tomislav Filipcic Date: Thu, 8 Feb 2024 16:54:03 +0100 Subject: [PATCH] Fixed podnapisi results parsing --- libs/subliminal_patch/providers/podnapisi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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