From 6a33354b2b366a49cdef7a3547a409969850f56c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 2 Dec 2024 03:00:22 +0800 Subject: [PATCH] Update index.py --- plugins/mtproxy/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mtproxy/index.py b/plugins/mtproxy/index.py index 55b7a8c49..d9cac4501 100755 --- a/plugins/mtproxy/index.py +++ b/plugins/mtproxy/index.py @@ -210,7 +210,7 @@ def getMtproxyUrl(): url = 'tg://proxy?server={0}&port={1}&secret={2}'.format(ip, info[1], secret) return mw.returnJson(True, 'ok', url) -def installPreInspection(version): +def installPreInspection(): sys = mw.execShell("cat /etc/*-release | grep PRETTY_NAME |awk -F = '{print $2}' | awk -F '\"' '{print $2}'| awk '{print $1}'") if sys[1] != '':