mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Update spotipy/client.py
Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
This commit is contained in:
parent
52f2b923ba
commit
3b5708f5a0
@ -426,7 +426,7 @@ class Spotify(object):
|
|||||||
"`artist_albums(..., include_groups='...')` instead.",
|
"`artist_albums(..., include_groups='...')` instead.",
|
||||||
DeprecationWarning,
|
DeprecationWarning,
|
||||||
)
|
)
|
||||||
include_groups = album_type if include_groups is None else include_groups
|
include_groups = include_groups or album_type
|
||||||
|
|
||||||
trid = self._get_id("artist", artist_id)
|
trid = self._get_id("artist", artist_id)
|
||||||
return self._get(
|
return self._get(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user