🥅 catch edge case data flow

This commit is contained in:
Ondrej Samohel 2022-10-21 17:26:03 +02:00
parent 6ee68861a8
commit 696dc78be7
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -310,6 +310,9 @@ def imprint(node, data, update=False):
"""
if not data:
return
if not node:
self.log.error("Node is not set, calling imprint on invalid data.")
return
current_parms = {p.name(): p for p in node.spareParms()}
update_parms = []