mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
Fixed json report generation bug, bump to 0.2.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user