bugfix
This commit is contained in:
parent
93274ed42d
commit
6d0b98f67a
@ -165,12 +165,10 @@ class WsPool:
|
|||||||
|
|
||||||
def add_me(self, iddata):
|
def add_me(self, iddata):
|
||||||
data = self.get_data()
|
data = self.get_data()
|
||||||
if data is None:
|
|
||||||
data = {}
|
|
||||||
iddata.ws = self.ws
|
iddata.ws = self.ws
|
||||||
iddata.ip = self.ip
|
iddata.ip = self.ip
|
||||||
self.id = iddata.id
|
self.id = iddata.id
|
||||||
data.add_node(ddata)
|
data.add_node(iddata)
|
||||||
self.set_data(data)
|
self.set_data(data)
|
||||||
|
|
||||||
def delete_id(self, id):
|
def delete_id(self, id):
|
||||||
|
Loading…
Reference in New Issue
Block a user