CHANGE output format from DASH to COMMA
This commit is contained in:
parent
5454480fe0
commit
08574ed4d8
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -151,7 +151,7 @@ def save_to_file(run_name: str, data: str):
|
||||||
|
|
||||||
# Append the data with timestamp to the file
|
# Append the data with timestamp to the file
|
||||||
with open(results_file, "a", encoding="utf-8") as f:
|
with open(results_file, "a", encoding="utf-8") as f:
|
||||||
f.write(f"{timestamp} - {data.strip()}\n")
|
f.write(f"{timestamp},{data.strip()}\n")
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def root():
|
async def root():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue