feedback
This commit is contained in:
parent
c5ed655399
commit
626b8edc88
@ -95,7 +95,8 @@ class Box:
|
||||
send_command = False
|
||||
pass
|
||||
case [ primary_key ] if primary_key == 'feedback':
|
||||
self.context.feedback = json.loads(payload)
|
||||
# merge the both dicts
|
||||
self.context.feedback |= json.loads(payload)
|
||||
send_command = False
|
||||
case _:
|
||||
raise Error(f"Unexcepted topic_key: {topic_key}, {payload}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user