mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-05 11:39:33 +00:00
Fix copter id getter
This commit is contained in:
@@ -256,8 +256,9 @@ class Client(messaging.ConnectionManager):
|
||||
if self.on_connect:
|
||||
self.on_connect(self)
|
||||
|
||||
def _got_id(self):
|
||||
def _got_id(self, value):
|
||||
logging.info("Got copter id: {} for client {}".format(self.copter_id, self.addr))
|
||||
self.copter_id = value
|
||||
if Client.on_first_connect:
|
||||
Client.on_first_connect(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user