Skip to content
Snippets Groups Projects
Commit f234042b authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

Use new events structure from forwardbasespawner

parent 2b40f830
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ class SpawnEventsUnicoreAPIHandler(APIHandler):
"progress": progress,
"html_message": f"<details><summary>{now}: {summary}</summary>{details}</details>",
}
spawner.latest_events.append(event)
if hasattr(spawner, "events") and type(spawner.events) == list:
spawner.events.append(event)
self.set_status(200)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment