diff --git a/spotipy/__init__.py b/spotipy/__init__.py index cc97826..65c6102 100644 --- a/spotipy/__init__.py +++ b/spotipy/__init__.py @@ -102,7 +102,7 @@ class Spotify(object): print('RESP', results) print() return results - except json.decoder.JSONDecodeError: + except ValueError: return None def next(self, result):