From 3250fc2620e2f6478af6f70419f12ecc5bfd873c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 11 Jun 2024 17:04:21 +0800 Subject: [PATCH] Update index.py --- plugins/php-apt/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index ccfcb573b..c3fb79a55 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -490,8 +490,7 @@ def getFpmStatus(version): sock_file = getFpmAddress(version) try: - sock_data = mw.requestFcgiPHP( - sock_file, '/phpfpm_status_apt' + version + '?json') + sock_data = mw.requestFcgiPHP(sock_file, '/phpfpm_status_apt' + version + '?json') result = str(sock_data, encoding='utf-8') data = json.loads(result)