Skip to content

Commit 9a14d54

Browse files
committed
Appease linter, second attempt
1 parent bc5ed6a commit 9a14d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nova3/engines/eztv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def do_query(self, what):
7373
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0'
7474
req = urllib.request.Request(url, data, {'User-Agent': user_agent})
7575
try:
76-
response = urllib.request.urlopen(req)
76+
response = urllib.request.urlopen(req) # nosec B310
7777
return response.read().decode('utf-8')
7878
except urllib.error.URLError as errno:
7979
print(f"Connection error: {errno.reason}")

0 commit comments

Comments
 (0)