From 9da85215bbce102624adf1776d3a2f26740365e6 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Mon, 13 Apr 2020 14:24:31 +0200 Subject: [PATCH] aaa --- server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.py b/server.py index d7cc83a..61a8ed2 100644 --- a/server.py +++ b/server.py @@ -179,7 +179,10 @@ class Session(object): await self.websocket.close(1008) if self.connection_id in active_sessions: + print(self.connection_id, "removing from active_sessions") del active_sessions[self.connection_id] + print("active_sessions now") + print(active_sessions) if len(active_sessions) == 0: write_ob_status(False) else: