Update index_php_yum.py

pull/632/head
Mr Chen 6 months ago
parent 804f7646d1
commit 534af4f017
  1. 6
      plugins/php-yum/index_php_yum.py

@ -17,12 +17,6 @@ try:
except Exception as e: except Exception as e:
import core.mw as mw 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 app_debug = False
if mw.isAppleSystem(): if mw.isAppleSystem():
app_debug = True app_debug = True

Loading…
Cancel
Save