Skip to content

Commit

Permalink
fix: JSON change in PESieve
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed May 10, 2023
1 parent c70160a commit d79f7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pesieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit d79f7a8

Please sign in to comment.