Fix for python 2 to use the safe raw_input() per default
This commit is contained in:
parent
d6a14bc83d
commit
1737a550d3
|
@ -74,7 +74,11 @@ def prompt_for_user_token(username, scope=None, client_id = None,
|
|||
|
||||
print()
|
||||
print()
|
||||
response = input("Enter the URL you were redirected to: ")
|
||||
try:
|
||||
response = raw_input("Enter the URL you were redirected to: ")
|
||||
except NameError:
|
||||
response = input("Enter the URL you were redirected to: ")
|
||||
|
||||
print()
|
||||
print()
|
||||
|
||||
|
|
Loading…
Reference in New Issue