bugfix
This commit is contained in:
parent
41ed4a811d
commit
e1eafd0639
@ -115,6 +115,12 @@ class WsPool:
|
|||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
def register(self, id):
|
||||||
|
iddata = DictObject()
|
||||||
|
iddata.ws = self.ws
|
||||||
|
iddata.id = id
|
||||||
|
self.add_me(self, iddata)
|
||||||
|
|
||||||
def add_me(self, iddata):
|
def add_me(self, iddata):
|
||||||
data = self.get_data()
|
data = self.get_data()
|
||||||
if data is None:
|
if data is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user