mirror of
https://github.com/c0de-archive/spotipy.git
synced 2025-01-06 14:52:50 +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
|
- device_id - device id to append
|
||||||
'''
|
'''
|
||||||
if device_id:
|
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
|
return path
|
||||||
|
|
||||||
def _get_id(self, type, id):
|
def _get_id(self, type, id):
|
||||||
|
Loading…
Reference in New Issue
Block a user