From 8835cd4ab5e559f0fd03d4541806f0ee51627a9a Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 3 Feb 2025 03:31:43 +0800 Subject: [PATCH] Update index.py --- plugins/lam/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/lam/index.py b/plugins/lam/index.py index 594128b6f..021456a3f 100755 --- a/plugins/lam/index.py +++ b/plugins/lam/index.py @@ -98,7 +98,8 @@ def getPhpVer(expect=83): if (t == expect): is_find = True return str(t) - new_ex = expect[0:1]+"."+expect[1:2] + expect_str = str(expect) + new_ex = expect_str[0:1]+"."+expect_str[1:2] if t.find(new_ex) > -1: is_find = True return str(t)