Log info when disconnecting

This commit is contained in:
Dan 2018-03-20 18:54:05 +01:00
parent 672515f11a
commit 440654a63f

View File

@ -54,6 +54,7 @@ class Connection:
def close(self):
self.connection.close()
log.info("Disconnected")
def send(self, data: bytes):
with self.lock: