Merge pull request #2287 from munahaf/Inappropriate_Logic-5node.py11635999804432162276.diff

Update a test expression to remove a logical short circuit
pull/2288/head
Jeremy Grossmann 8 months ago committed by GitHub
commit d87cff7fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -485,7 +485,7 @@ class Node:
# None properties are not be send. Because it can mean the emulator doesn't support it
for key in list(data.keys()):
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:
del data[key]
return data

Loading…
Cancel
Save