Fix build error

This commit is contained in:
wqy
2024-01-13 15:02:22 +08:00
parent 37f5210ab9
commit 44edeffad9
25 changed files with 43 additions and 40 deletions

View File

@@ -29,10 +29,10 @@ def set_title(name: str, cs: ChangeSet) -> ChangeSet:
def inp_in_title(section: list[str]) -> str:
if section == []:
return ''
return str('')
title = '\n'.join(section)
return f"update title set value = '{title}';"
return str(f"update title set value = '{title}';")
def inp_out_title(name: str) -> list[str]: