summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lbu-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbu-model.lua b/lbu-model.lua
index 6807e87..62e008f 100644
--- a/lbu-model.lua
+++ b/lbu-model.lua
@@ -144,10 +144,10 @@ end
function getconfig ()
local path = configfile
local config = {}
- local configopts
+ local configopts = {}
local errors = {}
if (fs.is_file(path)) then
- configopts = getopts.getoptsfromfile_onperline(path) or {}
+ configopts = getopts.getoptsfromfile(path, "") or {}
end
local lbumedias = availablemedias()
if not (configopts.LBU_MEDIA) then