Added a space between verification_url and comma

This fixes the situation in which the user ctrl + left clicks on the link in their terminal, and the comma is included as part of the code (which does not work).
This commit is contained in:
Haven Hamelin 2025-06-26 12:56:32 -04:00 • committed by sigma67
commit ccd281ce29

View file

@ -126,7 +126,7 @@ class RefreshingToken(OAuthToken):
url = f"{code['verification_url']}?user_code={code['user_code']}"
if open_browser:
webbrowser.open(url)
input(f"Go to {url}, finish the login flow and press Enter when done, Ctrl-C to abort")
input(f"Go to {url} , finish the login flow and press Enter when done, Ctrl-C to abort")
raw_token = credentials.token_from_code(code["device_code"])
ref_token = cls(credentials=credentials, **raw_token)
ref_token.update(ref_token.as_dict())