diff options
Diffstat (limited to 'gnats-model.lua')
-rw-r--r-- | gnats-model.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnats-model.lua b/gnats-model.lua index ed07361..706ac55 100644 --- a/gnats-model.lua +++ b/gnats-model.lua @@ -3,7 +3,6 @@ module(..., package.seeall) -- Load libraries require("fs") require("date") -require("getopts") require("format") require("posix") require("validator") @@ -377,7 +376,7 @@ end function getconfig() if (fs.is_file(configfile)) then - return getopts.getoptsfromfile(configfile, "") or {} + return format.parse_configfile2(fs.read_file(configfile), "") or {} end return {} end |