From 7e2dd19a2010cd66e688c29a96d2bd6e85e67319 Mon Sep 17 00:00:00 2001 From: huangzhenpc Date: Mon, 10 Feb 2025 17:09:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E6=89=93=E5=8D=B0=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cursor_pro_keep_alive.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cursor_pro_keep_alive.py b/cursor_pro_keep_alive.py index 4eafd05..79ad4c0 100644 --- a/cursor_pro_keep_alive.py +++ b/cursor_pro_keep_alive.py @@ -230,16 +230,13 @@ def handle_verification_code(tab, email_handler): while retry_count < max_retries: try: - print(f"\n[调试] 开始第 {retry_count + 1} 次验证码处理") if tab.ele("Account Settings", timeout=3): print_status("注册成功 - 已进入账户设置页面", "success") return True if tab.ele("@data-index=0", timeout=3): print_status("正在获取邮箱验证码...") - print(f"[调试] 开始获取验证码{email_handler}") code = get_verification_code_with_retry(email_handler) - print(f"[调试] 获取到的验证码: {code}") if not code: print_status("获取验证码失败", "error") return False @@ -249,7 +246,6 @@ def handle_verification_code(tab, email_handler): # 快速输入验证码 for i, digit in enumerate(code): - print(f"[调试] 输入第 {i+1} 位: {digit}") tab.ele(f"@data-index={i}").input(digit) time.sleep(0.1)