From 3b5708f5a03b07a51c79dda99f041662f04f0f3a Mon Sep 17 00:00:00 2001 From: Niko Date: Fri, 17 May 2024 14:38:19 +0200 Subject: [PATCH] Update spotipy/client.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stéphane Bruckert --- spotipy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotipy/client.py b/spotipy/client.py index 03abdec..8a4d72f 100644 --- a/spotipy/client.py +++ b/spotipy/client.py @@ -426,7 +426,7 @@ class Spotify(object): "`artist_albums(..., include_groups='...')` instead.", 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) return self._get(