From 278fb4acde4c865df9cf4f0128cdc43b4f0f1656 Mon Sep 17 00:00:00 2001 From: ostorlab Date: Mon, 13 Nov 2023 15:08:34 +0100 Subject: [PATCH] pylint --- agent/exploits/cve_2021_22941.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/exploits/cve_2021_22941.py b/agent/exploits/cve_2021_22941.py index eb36236a..0d11fa2e 100644 --- a/agent/exploits/cve_2021_22941.py +++ b/agent/exploits/cve_2021_22941.py @@ -78,7 +78,7 @@ def check(self) -> list[definitions.Vulnerability]: verify=False, timeout=DEFAULT_TIMEOUT, ) - except requests_exceptions.RequestException as exc: + except requests_exceptions.RequestException: return [] if payload not in req.text: return []