We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f345bb + ffb58a4 commit d87cff7Copy full SHA for d87cff7
gns3server/controller/node.py
@@ -485,7 +485,7 @@ def _node_data(self, properties=None):
485
486
# None properties are not be send. Because it can mean the emulator doesn't support it
487
for key in list(data.keys()):
488
- if data[key] is None or data[key] is {} or key in self.CONTROLLER_ONLY_PROPERTIES:
+ if data[key] is None or data[key] == {} or key in self.CONTROLLER_ONLY_PROPERTIES:
489
del data[key]
490
491
return data
0 commit comments