mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:19:26 +08:00
Update index.py
This commit is contained in:
@@ -319,8 +319,6 @@ def initDefaultInfo(conf_reload=False):
|
||||
path = getServerDir()
|
||||
djson = path + "/waf/domains.json"
|
||||
default_json = path + "/waf/default.json"
|
||||
if os.path.exists(djson) and not conf_reload:
|
||||
return True
|
||||
|
||||
content = mw.readFile(djson)
|
||||
content = json.loads(content)
|
||||
|
||||
Reference in New Issue
Block a user