REF clean up code

This commit is contained in:
Nathan Dwarshuis 2022-07-20 00:13:25 -04:00
parent ec699d29a4
commit 0af47fbe33
1 changed files with 1 additions and 4 deletions

View File

@ -146,10 +146,7 @@ end
return function(update_interval, config_path) return function(update_interval, config_path)
local update_freq = 1 / update_interval local update_freq = 1 / update_interval
local default_config = 'config.yml' local config = yaml.load(i_o.read_file(config_path))
-- local r = i_o.read_file(config_path) or i_o.read_file(default_config)
local r = i_o.read_file(config_path) or i_o.read_file(default_config)
local config = yaml.load(r)
local cmods = config.modules local cmods = config.modules
local main_state = {} local main_state = {}