Fixed podnapisi results parsing

This commit is contained in:
Tomislav Filipcic 2024-02-08 16:54:03 +01:00 committed by GitHub
parent 12f1aa6acf
commit 27d7f96599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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