Fixed json report generation bug, bump to 0.2.1

This commit is contained in:
Soxoj
2021-05-02 20:06:15 +03:00
parent ec0d3a1f70
commit 188edc1b7f
8 changed files with 172 additions and 92 deletions
+3
View File
@@ -269,6 +269,9 @@ def generate_json_report(username: str, results: dict, file, report_type):
data = dict(site_result)
data["status"] = data["status"].json()
data["site"] = data["site"].json
if "future" in data:
del data["future"]
if is_report_per_line:
data["sitename"] = sitename