Remove old inp in routine
This commit is contained in:
@@ -26,19 +26,7 @@ def set_backdrop(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return execute_command(name, set_backdrop_cmd(name, cs))
|
||||
|
||||
|
||||
class InpBackdrop:
|
||||
def __init__(self, section) -> None:
|
||||
self.value = '\n'.join(section)
|
||||
|
||||
|
||||
def inp_in_backdrop(section: list[str]) -> ChangeSet:
|
||||
if len(section) > 0:
|
||||
obj = InpBackdrop(section)
|
||||
return ChangeSet(g_update_prefix | {'type': 'backdrop', 'content' : obj.value})
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_in_backdrop_new(section: list[str]) -> str:
|
||||
def inp_in_backdrop(section: list[str]) -> str:
|
||||
if section == []:
|
||||
return ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user