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

Fixed Podnapisi not returning any subtitles

This commit is contained in:
Nejc Kovač 2024-08-27 13:05:43 +02:00 committed by GitHub
parent ee622e64b4
commit 74f2c66464
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 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