From 8b4de65e84a5294894e3518da00b533bc15d0a40 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 10 May 2021 10:04:52 +0800 Subject: [PATCH] Update index.py --- plugins/php_guard/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php_guard/index.py b/plugins/php_guard/index.py index 91b687b5f..c45f88ec3 100755 --- a/plugins/php_guard/index.py +++ b/plugins/php_guard/index.py @@ -8,11 +8,11 @@ import re import json import shutil -reload(sys) -sys.setdefaultencoding('utf8') +# reload(sys) +# sys.setdefaultencoding('utf8') sys.path.append(os.getcwd() + "/class/core") -sys.path.append("/usr/local/lib/python2.7/site-packages") +sys.path.append("/usr/local/lib/python3.6/site-packages") import mw