First pass scan
This commit is contained in:
@@ -38,6 +38,15 @@ def inp_in_backdrop(section: list[str]) -> ChangeSet:
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_in_backdrop_new(name: str, section: list[str]) -> None:
|
||||
if section == []:
|
||||
return
|
||||
|
||||
content = '\n'.join(section)
|
||||
sql = f"update backdrop set content = '{content}';"
|
||||
write(name, sql)
|
||||
|
||||
|
||||
def inp_out_backdrop(name: str) -> list[str]:
|
||||
obj = str(get_backdrop(name)['content'])
|
||||
return obj.split('\n')
|
||||
Reference in New Issue
Block a user