mirror of https://github.com/morpheus65535/bazarr
Fixed podnapisi search results parsing error
This commit is contained in:
parent
a7b84df68b
commit
b11f8100ac
|
@ -209,7 +209,7 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin):
|
||||||
break
|
break
|
||||||
|
|
||||||
# exit if no results
|
# exit if no results
|
||||||
if not int(xml.find('pagination/results').text):
|
if not xml.find('pagination/results') or not int(xml.find('pagination/results').text):
|
||||||
logger.debug('No subtitles found')
|
logger.debug('No subtitles found')
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue