gluon-core: use correct file variable in get_site_config()
This commit is contained in:
parent
069bcb3327
commit
c18d43d2cb
@ -7,7 +7,7 @@ local function get_site_config()
|
|||||||
local file = assert(io.open(config))
|
local file = assert(io.open(config))
|
||||||
|
|
||||||
local decoder = json.new()
|
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()
|
file:close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user