diff --git a/tools/dhtproxy_stats.py b/tools/dhtproxy_stats.py index a03ecbec96dd1b2ff15eb6b2b4212320a51e4a70..45625b0e9bf97b4147883bd12e3e91c07aa031e1 100644 --- a/tools/dhtproxy_stats.py +++ b/tools/dhtproxy_stats.py @@ -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