From af2b45a6f418b7bee611d42bd2e6dc5faaace7fc Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 11 Aug 2023 20:54:37 +0800 Subject: [PATCH] Update index.py --- plugins/op_waf/index.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index e12aa4d99..2e39e9cba 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -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)