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

@@ -148,7 +148,7 @@ def inp_in_curve(section: list[str]) -> ChangeSet:
cs = ChangeSet()
for id, coords in curves.items():
c_type = types[id] if id in types else CURVE_TYPE_PUMP
cs.append({'operation': API_ADD, 'type': 'curve', 'id' : id, 'c_type': c_type, 'coords' : coords})
cs.append(g_add_prefix | {'type': 'curve', 'id' : id, 'c_type': c_type, 'coords' : coords})
return cs