Update index_php_yum.py

This commit is contained in:
Mr Chen
2024-11-05 01:39:21 +08:00
parent 804f7646d1
commit 534af4f017
-6
View File
@@ -17,12 +17,6 @@ try:
except Exception as e:
import core.mw as mw
if mw.isAppleSystem():
cmd = 'ls /usr/local/lib/ | grep python | cut -d \\ -f 1 | awk \'END {print}\''
info = mw.execShell(cmd)
p = "/usr/local/lib/" + info[0].strip() + "/site-packages"
sys.path.append(p)
app_debug = False
if mw.isAppleSystem():
app_debug = True