fix: base get_sysconfig
This commit is contained in:
parent
b803cac69f
commit
29b88077b4
|
@ -350,7 +350,6 @@ def get_sysconfig(key='', reload=False):
|
|||
with open(SYS_JSON_PATH, 'r', encoding='utf-8') as f:
|
||||
config = json.loads(f.read())
|
||||
cache.set('system_config', config)
|
||||
return config
|
||||
if key:
|
||||
k_l = key.split('.')
|
||||
for k in k_l:
|
||||
|
|
Loading…
Reference in New Issue