Minor change

parent ec3ae7c5
......@@ -429,8 +429,8 @@ class MACUpdateHandler(BaseHandler):
class PresenceGraphHandler(BaseHandler):
PRESENCE = Presence()
def prepare(self):
def prepare(self) -> None:
self.set_header("Content-Type", "image/svg+xml")
def get(self):
def get(self) -> None:
self.write(PresenceGraphHandler.PRESENCE.get_graph().tostring())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment