mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 05:25:28 +00:00
Fixed podnapisi not returning results
This commit is contained in:
parent
63c36c8c18
commit
4df822d363
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin):
|
||||||
break
|
break
|
||||||
|
|
||||||
# exit if no results
|
# 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)):
|
int(xml.find('pagination/results').text)):
|
||||||
logger.debug('No subtitles found')
|
logger.debug('No subtitles found')
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue