diff --git a/main.lua b/main.lua index 08f0d3f..5785543 100644 --- a/main.lua +++ b/main.lua @@ -18,7 +18,7 @@ local write_log = function(line, type) current_log_file = assert(io.open(path, "a")) end - local log_line = cformat("[%s]%s %s\n", os.date("%H:%M:%S"), type, line) + local log_line = cformat("[%s]%s %s\n", os.date("%H:%M:%S"), type, line) if current_log_file ~= nil then assert(current_log_file:write(log_line)) assert(current_log_file:flush())