Skip to content

Commit

Permalink
Fixed Podnapisi not returning any subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
nate9976 authored Aug 27, 2024
1 parent ee622e6 commit 74f2c66
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 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

Expand Down

0 comments on commit 74f2c66

Please sign in to comment.