1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-22 07:42:32 +00:00

Fixed podnapisi not returning results

This commit is contained in:
saddfox 2024-12-12 03:58:32 +01:00 committed by GitHub
parent 63c36c8c18
commit 4df822d363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,7 +209,7 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin):
break
# exit if no results
if (not xml.find('pagination/results') or not xml.find('pagination/results').text or not
if (xml.find('pagination/results') is None or not xml.find('pagination/results').text or not
int(xml.find('pagination/results').text)):
logger.debug('No subtitles found')
break