mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +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