aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_scansion_record.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua
index 006412f7..6ac3a31c 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -9,10 +9,10 @@ local id = require "util.id";
local record_file = require "util.datamanager".getpath(id.medium():lower(), "scansion", os.date("%Y%b%d"):lower(), "scs", true);
-local fh = io.open(record_file, "w");
+local scan = io.open(record_file, "w");
local function record(string)
- fh:write(string);
+ scan:write(string);
end
local function record_event(session, event)