Update index.py

This commit is contained in:
midoks
2023-08-11 20:54:37 +08:00
parent d848d41a71
commit af2b45a6f4
-2
View File
@@ -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)