Fixed bettwaage csv insert
This commit is contained in:
parent
ee5de34647
commit
918a0fa04c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ file_path = "bettwaage.csv"
|
||||||
|
|
||||||
def add_line_to_history(line: str) -> None:
|
def add_line_to_history(line: str) -> None:
|
||||||
with open(file_path, "+a", encoding="UTF-8") as fp:
|
with open(file_path, "+a", encoding="UTF-8") as fp:
|
||||||
fp.write(f"{line}\n")
|
fp.write(line)
|
||||||
|
|
||||||
|
|
||||||
@router.get("/file")
|
@router.get("/file")
|
||||||
|
|
Loading…
Reference in a new issue