From 69c5e3048bd95b73d0c9f09fcc35e2e58d1ec86a Mon Sep 17 00:00:00 2001 From: DoyoDia <79502694+DoyoDia@users.noreply.github.com> Date: Sun, 9 Jul 2023 21:22:42 +0800 Subject: [PATCH] =?UTF-8?q?beta=E5=90=8E=E9=9D=A2=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E5=BF=98=E4=BA=86=E4=B8=8D=E8=83=BD=E8=88=8D=E4=BA=86=EF=BC=88?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Python/asst/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Python/asst/updater.py b/src/Python/asst/updater.py index c8eea5a526..962cc925b1 100644 --- a/src/Python/asst/updater.py +++ b/src/Python/asst/updater.py @@ -106,7 +106,7 @@ class Updater: #舍弃版本类型后的字符,避免使用内测版本而出现字母无法转换成数字的情况 XD for i in range(len(sub)): if sub[i].startswith('alpha') or sub[i].startswith('beta') or sub[i].startswith('rc'): - sub = sub[:1] + sub = sub[:2] break if sub[0] == 'alpha': sub[0] = '1'