Small change

This commit is contained in:
2023-05-24 12:11:49 +02:00
parent 663b044f0c
commit 3cc36a6224

View File

@@ -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