mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
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()
|
||||
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
Block a user