Fixed format string
This commit is contained in:
parent
07fe365709
commit
30efc2b405
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ async def get_file():
|
||||||
@router.post("/add")
|
@router.post("/add")
|
||||||
async def add_weight(tl: int, tr: int, bl: int, br: int):
|
async def add_weight(tl: int, tr: int, bl: int, br: int):
|
||||||
sum = tl + tr + bl + br
|
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())};{tl};{tr};{bl};{br};{sum};")
|
||||||
|
|
||||||
|
|
||||||
if not exists(file_path):
|
if not exists(file_path):
|
||||||
|
|
Loading…
Reference in a new issue