Use operation prefix

This commit is contained in:
WQY\qiong
2022-11-17 18:47:14 +08:00
parent b97d795484
commit 7a85867483
19 changed files with 19 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ class InpControl:
def inp_in_control(section: list[str]) -> ChangeSet:
obj = InpControl(section)
cs = ChangeSet({'operation' : API_UPDATE, 'type': 'control', 'control' : obj.control})
cs = ChangeSet(g_update_prefix | {'type': 'control', 'control' : obj.control})
return cs