diff --git a/package/gluon-core/files/usr/lib/lua/gluon/site_config.lua b/package/gluon-core/files/usr/lib/lua/gluon/site_config.lua index 6f01b066..4c0a2d22 100644 --- a/package/gluon-core/files/usr/lib/lua/gluon/site_config.lua +++ b/package/gluon-core/files/usr/lib/lua/gluon/site_config.lua @@ -7,7 +7,7 @@ local function get_site_config() local file = assert(io.open(config)) local decoder = json.new() - ltn12.pump.all(ltn12.source.file(io.open(config)), decoder:sink()) + ltn12.pump.all(ltn12.source.file(file), decoder:sink()) file:close()