First pass scan
This commit is contained in:
@@ -40,6 +40,15 @@ def inp_in_title(section: list[str]) -> ChangeSet:
|
||||
return ChangeSet(g_update_prefix | {'type': 'title', 'value' : obj.value})
|
||||
|
||||
|
||||
def inp_in_title_new(name: str, section: list[str]) -> None:
|
||||
if section == []:
|
||||
return
|
||||
|
||||
title = '\n'.join(section)
|
||||
sql = f"update title set value = '{title}';"
|
||||
write(name, sql)
|
||||
|
||||
|
||||
def inp_out_title(name: str) -> list[str]:
|
||||
obj = str(get_title(name)['value'])
|
||||
return obj.split('\n')
|
||||
|
||||
Reference in New Issue
Block a user