mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-14 02:57:27 +00:00
fix append device
This commit is contained in:
parent
544614f4b1
commit
ca3866dee6
@ -995,7 +995,10 @@ class Spotify(object):
|
||||
- device_id - device id to append
|
||||
'''
|
||||
if device_id:
|
||||
path += "&device_id=%s" % device_id
|
||||
if '?' in path:
|
||||
path += "&device_id=%s" % device_id
|
||||
else:
|
||||
path += "?device_id=%s" % device_id
|
||||
return path
|
||||
|
||||
def _get_id(self, type, id):
|
||||
|
Loading…
Reference in New Issue
Block a user