Hopefully fixed write endpoint
This commit is contained in:
parent
cc8eb0c2a3
commit
2ac70ddac6
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ scale_values = [1, 1, 1, 1]
|
|||
|
||||
|
||||
def add_line_to_history(line: str) -> None:
|
||||
with open(file_path, "+a", encoding="UTF-8") as fp:
|
||||
fp.write(line)
|
||||
with open(file_path, "a", encoding="UTF-8") as fp:
|
||||
fp.write(line + "\n")
|
||||
|
||||
|
||||
def convert_to_weight(value: int, zero_value: int, scale: float) -> float:
|
||||
|
|
Loading…
Reference in a new issue