From 1c109ee86f7e4e65853604a6954d05345ca756d2 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 14 Dec 2024 00:24:36 +0800 Subject: [PATCH] Update index.py --- plugins/xhprof/index.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/xhprof/index.py b/plugins/xhprof/index.py index 2b90fd824..063e91728 100755 --- a/plugins/xhprof/index.py +++ b/plugins/xhprof/index.py @@ -123,10 +123,8 @@ def getConfAppStart(): return pstart def contentReplace(content): - service_path = mw.getServerDir() content = content.replace('{$ROOT_PATH}', mw.getFatherDir()) content = content.replace('{$LOCAL_IP}', mw.getLocalIp()) - return content