Skip to content

Commit cc5ac40

Browse files
chore: 将 54dfd7b 的修改同步到 en-US 程序的源码中
1 parent 1bed031 commit cc5ac40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

other-languages/en-US/glm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def set_token(token, yes=False):
4949

5050
# == 添加 ==
5151
# --- Token 检查 ---
52-
if not token.startswith('ghp_') and not yes:
52+
if not (token.startswith("ghp_") and token.startwith("github_pat_") and yes):
5353
print(f"{Fore.YELLOW}{Fore.RESET} Please check whether the Token is correct.")
5454
try:
5555
input(f"Press {Fore.BLUE}Enter{Fore.RESET} to confirm, press {Fore.BLUE}Ctrl + C{Fore.RESET} to cancel...")

0 commit comments

Comments
 (0)