Skip to content

Commit

Permalink
Fixed podnapisi not returning results
Browse files Browse the repository at this point in the history
  • Loading branch information
saddfox authored Dec 12, 2024
1 parent 63c36c8 commit 4df822d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_libs/subliminal_patch/providers/podnapisi.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def query(self, language, keyword, video, season=None, episode=None, year=None,
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
Expand Down

0 comments on commit 4df822d

Please sign in to comment.