From 42adc5de68bf5eb622b02a5fadbb89910dd6902f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 22 Sep 2018 13:52:55 +0200 Subject: mod_scansion_record: Open log file --- plugins/mod_scansion_record.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 52003194..88c3e70a 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -8,6 +8,8 @@ local id = require "util.id"; local record_file = require "util.datamanager".getpath(id.medium(), module.host, os.date("%Y-%m-%d"), "scs", true); +local fh = io.open(record_file, "w"); + local function record(string) -- cgit v1.2.3