Fixed format string
This commit is contained in:
parent
47bd8c2fdd
commit
07fe365709
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ async def get_file():
|
|||
@router.post("/add")
|
||||
async def add_weight(tl: int, tr: int, bl: int, br: int):
|
||||
sum = tl + tr + bl + br
|
||||
add_line_to_history(f"{str(datetime.now())};{";".join([tl, tr, bl, br, sum])};")
|
||||
add_line_to_history(f"{str(datetime.now())};{';'.join([tl, tr, bl, br, sum])};")
|
||||
|
||||
|
||||
if not exists(file_path):
|
||||
|
|
Loading…
Reference in a new issue