diff --git a/browser_cli/auth.py b/browser_cli/auth.py index 94dca13..21d2dd5 100644 --- a/browser_cli/auth.py +++ b/browser_cli/auth.py @@ -103,6 +103,8 @@ def agent_find_key(selector: str | None = None) -> AgentKey | None: except Exception: return None for key in keys: + if key.comment == "(none)": + continue if selector is None or selector in key.comment: return key return None