fix AttributeError when Spotify client ID and secret not specified for Node.
This commit is contained in:
parent
56843c459c
commit
524b497512
|
|
@ -169,6 +169,8 @@ class Node:
|
||||||
self._spotify_client_id,
|
self._spotify_client_id,
|
||||||
self._spotify_client_secret,
|
self._spotify_client_secret,
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self._spotify_client = None
|
||||||
|
|
||||||
if apple_music:
|
if apple_music:
|
||||||
self._apple_music_client = applemusic.Client()
|
self._apple_music_client = applemusic.Client()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue