From b4f9258f3c426d7666a4bb06a50f58860145c275 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 28 Mar 2025 18:29:26 -1000 Subject: [PATCH] fix: Remove unused exception variable in webbrowser.open call --- aider/onboarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/onboarding.py b/aider/onboarding.py index 8b63ddc3f..bb296a27c 100644 --- a/aider/onboarding.py +++ b/aider/onboarding.py @@ -322,7 +322,7 @@ def start_openrouter_oauth_flow(io, analytics): try: webbrowser.open(auth_url) - except Exception as e: + except Exception: pass # Wait for the callback to set the auth_code or for timeout/error