Small change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user