Correction to add \n to the end of the header row
This commit is contained in:
parent
274a53625d
commit
0e45b991f0
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue