Update spotipy/client.py

Co-authored-by: Stéphane Bruckert <stephane.bruckert@gmail.com>
This commit is contained in:
Niko 2024-05-17 14:38:19 +02:00 committed by GitHub
parent 52f2b923ba
commit 3b5708f5a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(