Skip to content

Commit

Permalink
Revert "Fixed podnapisi results parsing"
Browse files Browse the repository at this point in the history
This reverts commit 27d7f96.
  • Loading branch information
morpheus65535 committed Feb 8, 2024
1 parent 27d7f96 commit 90e4cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/subliminal_patch/providers/podnapisi.py
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') and 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')
break

Expand Down

0 comments on commit 90e4cf1

Please sign in to comment.