Skip to content

Commit

Permalink
stateengine plugin: fix value evaluation by reintroducing deepcopy of…
Browse files Browse the repository at this point in the history
… value
  • Loading branch information
onkelandy committed Sep 13, 2023
1 parent bdc4aef commit c8e72d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stateengine/StateEngineValue.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __resetvalue(self):
# value: string indicating value or source of value
# name: name of object ("time" is being handled differently)
def set(self, value, name="", reset=True, item=None):
#value = copy.deepcopy(value)
value = copy.deepcopy(value)
if reset:
self.__resetvalue()
if isinstance(value, list):
Expand Down

0 comments on commit c8e72d2

Please sign in to comment.