From 0e45b991f0242b9df9af6f01fc6b31c0f623ddc5 Mon Sep 17 00:00:00 2001 From: David Forbes Date: Tue, 12 Jul 2016 23:52:29 +0100 Subject: [PATCH] Correction to add \n to the end of the header row --- speedtest_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest_cli.py b/speedtest_cli.py index 16c9241..2f82f21 100755 --- a/speedtest_cli.py +++ b/speedtest_cli.py @@ -805,7 +805,7 @@ def speedtest(): try: log_file = open(args.log, "a") if fresh_file: - log_file.write("Date,download,upload,isp,ip,spons,loc,dist,lat,share") + log_file.write("Date,download,upload,isp,ip,spons,loc,dist,lat,share\n") log_file.write("%s\n" % ",".join(log_output)) except: print_('\nLog file update failed')