default definition of spotify_client to None

This commit is contained in:
Zander M 2023-05-03 18:50:15 -04:00
parent f6fffcc149
commit 5f033ba7f4
No known key found for this signature in database
GPG Key ID: 414B95CCBFC172B2
1 changed files with 1 additions and 2 deletions

View File

@ -159,6 +159,7 @@ class Node:
self._players: Dict[int, Player] = {}
self._spotify_client: Optional[spotify.Client] = None
self._spotify_client_id: Optional[str] = spotify_client_id
self._spotify_client_secret: Optional[str] = spotify_client_secret
@ -169,8 +170,6 @@ class Node:
self._spotify_client_id,
self._spotify_client_secret,
)
else:
self._spotify_client = None
if apple_music:
self._apple_music_client = applemusic.Client()