Fix build error
This commit is contained in:
@@ -84,9 +84,9 @@ def inp_in_status(line: str) -> str:
|
||||
link = str(tokens[0])
|
||||
value = tokens[1].upper()
|
||||
if value == LINK_STATUS_OPEN or value == LINK_STATUS_CLOSED or value == LINK_STATUS_ACTIVE:
|
||||
return f"insert into status (link, status, setting) values ('{link}', '{value}', null);"
|
||||
return str(f"insert into status (link, status, setting) values ('{link}', '{value}', null);")
|
||||
else:
|
||||
return f"insert into status (link, status, setting) values ('{link}', null, {float(value)});"
|
||||
return str(f"insert into status (link, status, setting) values ('{link}', null, {float(value)});")
|
||||
|
||||
|
||||
def inp_out_status(name: str) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user