From e7347c4a4c8c1c06df8fc815b7c1aae7deb36fe5 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 27 Nov 2022 11:20:41 +0800 Subject: [PATCH] Update index.py --- plugins/op_waf/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index 2075757cc..99cdeac13 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -842,7 +842,7 @@ def setSafeVerify(): cobj = json.loads(content) cobj['safe_verify']['time'] = args['time'] - cobj['safe_verify']['cpu'] = args['cpu'] + cobj['safe_verify']['cpu'] = int(args['cpu']) if args['auto'] == '0': cobj['safe_verify']['auto'] = False