mirror of
https://github.com/nova-r/fediplug.git
synced 2025-01-22 16:46:55 +01:00
Switch from getpass
-> input
for grant token
This commit is contained in:
parent
a2a11584d4
commit
7f88d23d0a
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ def main():
|
|||
client = Mastodon(client_id='clientcred.secret', api_base_url=api_base_url)
|
||||
print("Open this page in your browser and follow the instructions to get the code you need, then paste it here")
|
||||
print(client.auth_request_url())
|
||||
grant_code = getpass('Code? ')
|
||||
grant_code = input('Code? ')
|
||||
login(api_base_url, grant_code)
|
||||
|
||||
stream(api_base_url)
|
||||
|
|
Loading…
Reference in a new issue