Correction to add \n to the end of the header row

This commit is contained in:
David Forbes 2016-07-12 23:52:29 +01:00
parent 274a53625d
commit 0e45b991f0
1 changed files with 1 additions and 1 deletions

View File

@ -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')