Skip to content

Commit

Permalink
Reverted failed attempt at satisfying the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Aug 13, 2024
1 parent cde70e1 commit bc5ed6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nova3/engines/eztv.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ def do_query(self, what):
except TypeError:
# Older versions of retrieve_url did not support request_data/POST, se we must do the
# request ourselves...
if not url.startswith("https://"): # Satisfy the linter
return ""
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0'
req = urllib.request.Request(url, data, {'User-Agent': user_agent})
try:
Expand Down

0 comments on commit bc5ed6a

Please sign in to comment.