Fix broken options call

This commit is contained in:
Ian Renton
2026-06-21 21:28:05 +01:00
parent 96e2b0ce8b
commit 89bb5d5e3e
10 changed files with 17 additions and 17 deletions

View File

@@ -42,7 +42,7 @@ class APIOptionsHandler(tornado.web.RequestHandler):
"alert_sources": list(
map(lambda p: p["name"], filter(lambda p: p["enabled"], self._status_data["alert_providers"]))),
"continents": CONTINENTS,
"propagation_modes": PROPAGATION_MODES.values(),
"propagation_modes": list(PROPAGATION_MODES.values()),
"max_spot_age": MAX_SPOT_AGE,
"spot_allowed": ALLOW_SPOTTING}
# If spotting to this server is enabled, "API" is another valid spot source even though it does not come from