diff --git a/dojo/tools/qualys/parser.py b/dojo/tools/qualys/parser.py index b8498962f1a..68bc6ecfb73 100644 --- a/dojo/tools/qualys/parser.py +++ b/dojo/tools/qualys/parser.py @@ -173,7 +173,7 @@ def parse_finding(host, tree): if last_fixed is not None: _temp["mitigation_date"] = datetime.datetime.strptime( last_fixed, "%Y-%m-%dT%H:%M:%SZ" - ).date() + ) else: _temp["mitigation_date"] = None # read cvss value if present