diff options
author | 2020-12-08 09:44:32 -0500 | |
---|---|---|
committer | 2020-12-08 09:44:32 -0500 | |
commit | e70d4ebb34be2bfbd9e93cf862d8d4d68ddf37cb (patch) | |
tree | a83af7d1cc8e19b49f1a82ede6dc346a548cef1f /plugins/timer | |
parent | 6082c57817462f56ca4bfdfd1908c4498677c4b9 (diff) |
plugins: Replace environment variable substitution function with core version
Diffstat (limited to 'plugins/timer')
-rw-r--r-- | plugins/timer/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/timer/init.lua b/plugins/timer/init.lua index 56ccd6b39ed..95601ac67f3 100644 --- a/plugins/timer/init.lua +++ b/plugins/timer/init.lua @@ -12,7 +12,7 @@ exports.author = { name = "Carl" } local timer = exports function timer.startplugin() - local dir = lfs.env_replace(manager:options().entries.homepath:value()) + local dir = emu.subst_env(manager:options().entries.homepath:value()) local timer_db = dir .. "/timer/timer.db" local timer_started = false local total_time = 0 |