diff --git a/src/endpoints/bettwaage.py b/src/endpoints/bettwaage.py index e79596c..02781f5 100644 --- a/src/endpoints/bettwaage.py +++ b/src/endpoints/bettwaage.py @@ -12,7 +12,7 @@ file_path = "bettwaage.csv" def add_line_to_history(line: str) -> None: with open(file_path, "+a", encoding="UTF-8") as fp: - fp.write(f"{line}\n") + fp.write(line) @router.get("/file")