changeset 9360 | 0ae20fb3d4c6 |
parent 9359 | d13540d83b8e |
child 9361 | bbc24fc734da |
--- a/plugins/mod_scansion_record.lua Sat Sep 22 14:10:16 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 14:18:39 2018 +0200 @@ -9,10 +9,10 @@ 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)