Skip to content
Snippets Groups Projects
Commit cc51d268 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

proxy: only keep last total stat

The rest is not needed.
parent 28b58932
Branches
Tags 2.1.1
No related merge requests found
......@@ -48,10 +48,10 @@ for i in range(80,101):
stats['timestamp'] = str(ts)
with open("stats_proxy_" + str(i), "a") as stat_file:
stat_file.write(str(stats))
stat_file.write('\n')
#with open("stats_proxy_" + str(i), "a") as stat_file:
# stat_file.write(str(stats))
# stat_file.write('\n')
with open("stats_proxy_total", "a") as stat_file:
with open("stats_proxy_total", "w") as stat_file:
stat_file.write(str(stats_total))
stat_file.write('\n')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment