Handle empty rows

This commit is contained in:
Sergey Motornyuk 2022-05-08 04:22:12 +03:00
parent ae59b35121
commit 34171b12a1
1 changed files with 1 additions and 1 deletions

View File

@ -91,5 +91,5 @@ def event_report(context, data_dict):
return {
"headers": [h["name"] for h in report["columnHeaders"]],
"rows": report["rows"],
"rows": report.get("rows", []),
}