Software /
code /
prosody
Diff
plugins/mod_scansion_record.lua @ 12110:b5b799a2a10c
util.id: Adjust entropy levels, with rationales
Modules using ids for logging should not need the now pretty large
medium one.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Dec 2021 01:14:55 +0100 |
parent | 11254:613035d6e5a0 |
child | 12977:74b9e05af71e |
line wrap: on
line diff
--- a/plugins/mod_scansion_record.lua Tue Oct 05 18:15:06 2021 +0200 +++ b/plugins/mod_scansion_record.lua Thu Dec 02 01:14:55 2021 +0100 @@ -8,7 +8,7 @@ local dm = require "util.datamanager"; local st = require "util.stanza"; -local record_id = id.medium():lower(); +local record_id = id.short():lower(); local record_date = os.date("%Y%b%d"):lower(); local header_file = dm.getpath(record_id, "scansion", record_date, "scs", true); local record_file = dm.getpath(record_id, "scansion", record_date, "log", true);