From 2e9471cf22a4a5b21e505a782e598b8893b0d467 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Fri, 16 Jul 2021 16:55:49 -0700 Subject: [PATCH] Remove obsolete code --- server/wss.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/wss.py b/server/wss.py index 69c6711..e5435bb 100644 --- a/server/wss.py +++ b/server/wss.py @@ -41,7 +41,6 @@ class Client: client = self self.server = server self.client = client_ - self.lock = threading.Lock() self.has_auth = False self.ready_for_msgs = False self.acked = True @@ -63,8 +62,8 @@ class Client: self.acked = False def got_ack(self): - self.acked = True - self.do_send() + self.acked = True + self.do_send() def on_left(client_, server):