From e4421274f91027c3b33e64b00ad3b33c1b24fd8a Mon Sep 17 00:00:00 2001 From: Manuel Sommer Date: Thu, 7 Nov 2024 10:56:35 +0100 Subject: [PATCH] ruff --- dojo/tools/acunetix/parse_acunetix_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/tools/acunetix/parse_acunetix_xml.py b/dojo/tools/acunetix/parse_acunetix_xml.py index fa4163c1a98..c744903b2ed 100644 --- a/dojo/tools/acunetix/parse_acunetix_xml.py +++ b/dojo/tools/acunetix/parse_acunetix_xml.py @@ -26,7 +26,7 @@ def get_findings(self, filename, test): # get report date if scan.findtext("StartTime") and "" != scan.findtext("StartTime"): report_date = dateutil.parser.parse( - scan.findtext("StartTime"), dayfirst=True + scan.findtext("StartTime"), dayfirst=True, ).date() for item in scan.findall("ReportItems/ReportItem"): finding = Finding(