fix AttributeError when Spotify client ID and secret not specified for Node.

This commit is contained in:
Zander M 2023-05-03 17:31:12 -04:00
parent 56843c459c
commit 524b497512
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ class Node:
self._spotify_client_id,
self._spotify_client_secret,
)
else:
self._spotify_client = None
if apple_music:
self._apple_music_client = applemusic.Client()