Use operation prefix
This commit is contained in:
@@ -121,7 +121,7 @@ def inp_in_source(section: list[str]) -> ChangeSet:
|
||||
if s.startswith(';'):
|
||||
continue
|
||||
obj = InpSource(s)
|
||||
cs.append({'operation': API_ADD, 'type': 'source', 'node': obj.node, 's_type': obj.s_type, 'strength': obj.strength, 'pattern': obj.pattern})
|
||||
cs.append(g_add_prefix | {'type': 'source', 'node': obj.node, 's_type': obj.s_type, 'strength': obj.strength, 'pattern': obj.pattern})
|
||||
return cs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user