From b72085e5dddb8221caacc0a754ef8dd151cd37c7 Mon Sep 17 00:00:00 2001 From: cheng zhen Date: Sun, 29 Dec 2024 10:09:05 +0800 Subject: [PATCH] refactor: remove redundant print statements in cursor_auth_manager.py and cursor_pro_keep_alive.py --- cursor_auth_manager.py | 1 - cursor_pro_keep_alive.py | 1 - 2 files changed, 2 deletions(-) diff --git a/cursor_auth_manager.py b/cursor_auth_manager.py index f404b6f..7049d74 100644 --- a/cursor_auth_manager.py +++ b/cursor_auth_manager.py @@ -47,7 +47,6 @@ class CursorAuthManager: if cursor.rowcount > 0: print(f"成功更新 {key.split('/')[-1]}") - print("更新成功") else: print(f"未找到 {key.split('/')[-1]} 或值未变化") diff --git a/cursor_pro_keep_alive.py b/cursor_pro_keep_alive.py index 9267cbd..d6ab1f0 100644 --- a/cursor_pro_keep_alive.py +++ b/cursor_pro_keep_alive.py @@ -214,7 +214,6 @@ def get_cursor_session_token(tab): cookies = tab.cookies() cursor_session_token = None time.sleep(3) - print(cookies) for cookie in cookies: if cookie["name"] == "WorkosCursorSessionToken": cursor_session_token = cookie["value"].split("%3A%3A")[1]