mirror of
https://github.com/glomatico/votify.git
synced 2026-09-28 20:12:13 +02:00
Await librespot initialization in SpotifyApi
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ class SpotifyApi:
|
||||
elif self.session_type in {SessionType.LIBRESPOT, SessionType.WEB}:
|
||||
await self._initialize_authorization_with_totp()
|
||||
if self.session_type == SessionType.LIBRESPOT:
|
||||
asyncio.to_thread(self._initialize_librespot)
|
||||
await asyncio.to_thread(self._initialize_librespot)
|
||||
|
||||
def _set_authorization_header(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user