Skip to content
Snippets Groups Projects
Commit f03797b3 authored by Jonah Husson's avatar Jonah Husson
Browse files

Add newline to raw points logging

parent 84566713
No related branches found
No related tags found
1 merge request!1Save raw points data
......@@ -145,7 +145,7 @@ def process_period(conn, substrate, keypair, point_info, start_period, end_perio
push_point_info(substrate, negative_points_func, keypair, negative)
with open(raw_points_log, "a") as f:
f.write(f"[{datetime.datetime.now()}] {raw_points}")
f.write(f"[{datetime.datetime.now()}] {raw_points}\n")
# Save end_period timestamp to database to lock in the operation
update_last_checked_timestamp(conn, end_period)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment