gluon-core: use correct file variable in get_site_config()

This commit is contained in:
Matthias Schiffer 2016-04-24 15:28:35 +02:00
parent 069bcb3327
commit c18d43d2cb

View File

@ -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()