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)