diff --git a/lib/pesieve.py b/lib/pesieve.py index 4cc7fc38..f077ceab 100644 --- a/lib/pesieve.py +++ b/lib/pesieve.py @@ -64,7 +64,7 @@ def scan(self, pid, pesieveshellc = False): return results try: results_raw = json.loads(output) - results = results_raw["scanned"]["modified"] + results = results_raw["scan_report"]["scanned"]["modified"] except ValueError as v: traceback.print_exc() self.logger.log("DEBUG", "PESieve", "Couldn't parse the JSON output.")