From e70d4ebb34be2bfbd9e93cf862d8d4d68ddf37cb Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 8 Dec 2020 09:44:32 -0500 Subject: plugins: Replace environment variable substitution function with core version --- plugins/timer/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/timer') 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 -- cgit v1.2.3-70-g09d2