Fix TypeError
This commit is contained in:
@@ -7,6 +7,7 @@ from librespot.standard import BytesInputStream, ByteArrayOutputStream
|
||||
import logging
|
||||
import queue
|
||||
import threading
|
||||
import typing
|
||||
|
||||
|
||||
class AudioKeyManager(PacketsReceiver):
|
||||
@@ -15,7 +16,7 @@ class AudioKeyManager(PacketsReceiver):
|
||||
_AUDIO_KEY_REQUEST_TIMEOUT: int = 20
|
||||
_seqHolder: int = 0
|
||||
_seqHolderLock: threading.Condition = threading.Condition()
|
||||
_callbacks: dict[int, AudioKeyManager.Callback] = {}
|
||||
_callbacks: typing.Dict[int, AudioKeyManager.Callback] = {}
|
||||
_session: Session = None
|
||||
|
||||
def __init__(self, session: Session):
|
||||
|
||||
Reference in New Issue
Block a user