From f53db636e1203b44c3cf758bedb73d81eeeecad9 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 28 Mar 2025 17:28:00 -1000 Subject: [PATCH] style: Format comments --- aider/onboarding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/onboarding.py b/aider/onboarding.py index 516718604..89a5017c6 100644 --- a/aider/onboarding.py +++ b/aider/onboarding.py @@ -287,18 +287,18 @@ def start_openrouter_oauth_flow(io, analytics): server_thread.join(timeout=1) if interrupted: - return None # Return None if interrupted by user + return None # Return None if interrupted by user if server_error: io.tool_error(f"Authentication failed: {server_error}") analytics.event("oauth_flow_failed", provider="openrouter", reason=server_error) return None - if not auth_code and not interrupted: # Only show timeout if not interrupted + if not auth_code and not interrupted: # Only show timeout if not interrupted io.tool_error("Authentication timed out. No code received from OpenRouter.") analytics.event("oauth_flow_failed", provider="openrouter", reason="timeout") return None - elif not auth_code: # If interrupted, we already printed a message and returned + elif not auth_code: # If interrupted, we already printed a message and returned return None io.tool_output("Authentication code received. Exchanging for API key...")