summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/timer/timer_persist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/timer/timer_persist.lua')
-rw-r--r--plugins/timer/timer_persist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/timer/timer_persist.lua b/plugins/timer/timer_persist.lua
index 4781c263ba8..cb24b485dcb 100644
--- a/plugins/timer/timer_persist.lua
+++ b/plugins/timer/timer_persist.lua
@@ -130,7 +130,7 @@ end
local function open_database()
-- make sure settings directory exists
- local dir = emu.subst_env(manager.machine.options.entries.homepath:value():match('([^;]+)')) .. '/timer'
+ local dir = manager.machine.options.entries.homepath:value():match('([^;]+)') .. '/timer'
local attr = lfs.attributes(dir)
if not attr then
lfs.mkdir(dir)