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(