gluon-core: fix load_json() -> json.load()
This commit is contained in:
parent
42cb509e1b
commit
0105822cf9
@ -454,7 +454,7 @@ local check = setfenv(assert(loadfile()), M)
|
||||
site = assert(json.load((os.getenv('IPKG_INSTROOT') or '') .. '/lib/gluon/site.json'))
|
||||
|
||||
if has_custom then
|
||||
custom = load_json(os.getenv('IPKG_INSTROOT') .. '/lib/gluon/custom.json')
|
||||
custom = json.load(os.getenv('IPKG_INSTROOT') .. '/lib/gluon/custom.json')
|
||||
print('Found ' .. os.getenv('IPKG_INSTROOT') .. '/lib/gluon/custom.json!')
|
||||
else
|
||||
print('Info: ' .. os.getenv('IPKG_INSTROOT') .. '/lib/gluon/custom.json is not existing.')
|
||||
|
Loading…
Reference in New Issue
Block a user