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

Fixed podnapisi AttributeError

This commit is contained in:
morpheus65535 2024-09-04 06:53:30 -04:00
parent 4e365c6aa6
commit f6c5ee6bfc

View file

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