From 3cc36a6224c239b32a3d53e42f44a5917eb1410d Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 24 May 2023 12:11:49 +0200 Subject: [PATCH] Small change --- AuthToken.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/AuthToken.py b/AuthToken.py index e743c5a..97f6793 100644 --- a/AuthToken.py +++ b/AuthToken.py @@ -1,9 +1,11 @@ -import os import json -import click +import os import time + +import click import requests + class AuthToken: def __init__(self): self.tokenfile = "token.json" @@ -37,7 +39,7 @@ class AuthToken: return token # if not, ask the user to enter the token - click.echo("Please enter your github access token:") + click.echo("Please enter your github access token (can be found in ~/.config/github-copilot/hosts.json):") token = click.prompt("Token", type=str) self.save_oauth_token(token) return token