Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

portico: Fix incorrect fallback contributors data type.

Tim Abbott50b91fe5c7c9
diff --git a/corporate/views/portico.py b/corporate/views/portico.py
index 22cedc0ebce..cd435f3d64e 100644
--- a/corporate/views/portico.py
+++ b/corporate/views/portico.py
@@ -92,7 +92,7 @@ def team_view(request: HttpRequest) -> HttpResponse:
with open(settings.CONTRIBUTOR_DATA_FILE_PATH, "rb") as f:
data = orjson.loads(f.read())
except FileNotFoundError:
- data = {"contributors": {}, "date": "Never ran."}
+ data = {"contributors": [], "date": "Never ran."}
return TemplateResponse(
request,