Skip to content
Snippets Groups Projects
Commit 6c03d8b3 authored by Hock, Martin's avatar Hock, Martin
Browse files

Fix KPIEncoder caught in name to label property renaming.

parent 1fdf4dd8
Branches
Tags
No related merge requests found
......@@ -266,5 +266,5 @@ class KPIEncoder(json.JSONEncoder):
if isinstance(o, uuid.UUID):
return "kpi-" + str(o)
if isinstance(o, (AggregationLayer)):
return "kpi-" + o.properties.label
return "kpi-" + o.name
return super().default(o)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment