mirror of https://github.com/aredn/aredn.git
Missing year (in one place) when updating snr log (#341)
This commit is contained in:
parent
c83cef5928
commit
0632a63853
|
@ -190,7 +190,7 @@ function run_snrlog()
|
||||||
-- Write a null to the log file
|
-- Write a null to the log file
|
||||||
local f, err = assert(io.open(logdatafile, "a"),"Cannot open file ("..logdatafile..") for appending!")
|
local f, err = assert(io.open(logdatafile, "a"),"Cannot open file ("..logdatafile..") for appending!")
|
||||||
if f then
|
if f then
|
||||||
f:write(string.format("%s,%s,%s,%s,%s,%s,%s\n", os.date("%m/%d %H:%M:%S", os.time()), 'null', nf, '0', '0', '0', '0'))
|
f:write(string.format("%s,%s,%s,%s,%s,%s,%s\n", os.date("%m/%d/%Y %H:%M:%S", os.time()), 'null', nf, '0', '0', '0', '0'))
|
||||||
f:close()
|
f:close()
|
||||||
nulledout[mac] = "true"
|
nulledout[mac] = "true"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue