bugfix
This commit is contained in:
parent
7001d02a34
commit
9f001cbf9b
@ -116,7 +116,7 @@ class WsData:
|
|||||||
self.nodes[node.id] = node
|
self.nodes[node.id] = node
|
||||||
|
|
||||||
def del_node(self, node):
|
def del_node(self, node):
|
||||||
self.nodes = {k,v for k,v in self.nodes.items() if k!=node.id}
|
self.nodes = {k:v for k,v in self.nodes.items() if k!=node.id}
|
||||||
|
|
||||||
def get_node(self, id):
|
def get_node(self, id):
|
||||||
return self.nodes.get(id)
|
return self.nodes.get(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user