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

@@ -28,10 +28,10 @@ def set_backdrop(name: str, cs: ChangeSet) -> ChangeSet:
def inp_in_backdrop(section: list[str]) -> str:
if section == []:
return ''
return str('')
content = '\n'.join(section)
return f"update backdrop set content = '{content}';"
return str(f"update backdrop set content = '{content}';")
def inp_out_backdrop(name: str) -> list[str]: