From 9a14d54255111987e68626237a62c7c2fc54eb27 Mon Sep 17 00:00:00 2001 From: Alex Duchesne Date: Tue, 13 Aug 2024 15:39:10 -0400 Subject: [PATCH] Appease linter, second attempt --- nova3/engines/eztv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova3/engines/eztv.py b/nova3/engines/eztv.py index 91a43b0..2d2a89d 100644 --- a/nova3/engines/eztv.py +++ b/nova3/engines/eztv.py @@ -73,7 +73,7 @@ def do_query(self, what): 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: - response = urllib.request.urlopen(req) + response = urllib.request.urlopen(req) # nosec B310 return response.read().decode('utf-8') except urllib.error.URLError as errno: print(f"Connection error: {errno.reason}")