Show a link to obtain access token; resolves #13

This commit adds printing access token link to provide ability to copy & visit it manually to obtain an access token, as a fallback
This commit is contained in:
Kristobal 2017-05-06 16:34:26 +03:00 committed by Rakan Alhneiti
parent 32236b3cde
commit 407bff7fa0

View file

@ -61,6 +61,8 @@ def configure(consumer_key, sort_field, words_per_minute):
print('You will have to authorize the application to access your articles')
print('Enter any key once you\'re redirected to google.com')
print('Or open this link in browser manually:')
print(url);
webbrowser.open_new_tab(url)
input()