Remove old inp in routine
This commit is contained in:
@@ -42,13 +42,9 @@ def set_control(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
# (0) (1) (2) (3) (4) (5) (6) (7)
|
||||
# todo...
|
||||
#--------------------------------------------------------------
|
||||
def inp_in_control(section: list[str]) -> ChangeSet:
|
||||
if len(section) > 0:
|
||||
return ChangeSet(g_update_prefix | {'type': 'control', 'controls' : section})
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_in_control_new(line: str) -> str:
|
||||
def inp_in_control(line: str) -> str:
|
||||
return f"insert into controls (line) values ('{line}');"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user