Update index.py

pull/598/head
Mr Chen 11 months ago
parent cf44358190
commit 3250fc2620
  1. 3
      plugins/php-apt/index.py

@ -490,8 +490,7 @@ def getFpmStatus(version):
sock_file = getFpmAddress(version) sock_file = getFpmAddress(version)
try: try:
sock_data = mw.requestFcgiPHP( sock_data = mw.requestFcgiPHP(sock_file, '/phpfpm_status_apt' + version + '?json')
sock_file, '/phpfpm_status_apt' + version + '?json')
result = str(sock_data, encoding='utf-8') result = str(sock_data, encoding='utf-8')
data = json.loads(result) data = json.loads(result)

Loading…
Cancel
Save