unbreak build
This commit is contained in:
parent
774c68bb1a
commit
7be882acbd
1 changed files with 4 additions and 2 deletions
|
@ -147,12 +147,14 @@ class Session(object):
|
|||
async def activate(self) -> None:
|
||||
print(self.connection_id, "Activating")
|
||||
self.running = True
|
||||
await self.websocket.send(json.dumps({"kind": "ACTIVATED"}))
|
||||
if self.websocket is not None:
|
||||
await self.websocket.send(json.dumps({"kind": "ACTIVATED"}))
|
||||
|
||||
async def deactivate(self) -> None:
|
||||
print(self.connection_id, "Deactivating")
|
||||
self.running = False
|
||||
await self.websocket.send(json.dumps({"kind": "DEACTIVATED"}))
|
||||
if self.websocket is not None:
|
||||
await self.websocket.send(json.dumps({"kind": "DEACTIVATED"}))
|
||||
|
||||
async def end(self) -> None:
|
||||
global active_sessions, live_session
|
||||
|
|
Loading…
Reference in a new issue