Fix AttributeError
This commit is contained in:
parent
8481226ff4
commit
84a43bed3d
|
@ -987,7 +987,7 @@ class Session(Closeable, SubListener, DealerClient.MessageListener):
|
||||||
self.session._scheduledReconnect)
|
self.session._scheduledReconnect)
|
||||||
|
|
||||||
def anonymous():
|
def anonymous():
|
||||||
self._LOGGER.warning(
|
self.session._LOGGER.warning(
|
||||||
"Socket timed out. Reconnecting...")
|
"Socket timed out. Reconnecting...")
|
||||||
self.session._reconnect()
|
self.session._reconnect()
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ from librespot.common import Utils
|
||||||
from librespot.metadata import SpotifyId
|
from librespot.metadata import SpotifyId
|
||||||
|
|
||||||
|
|
||||||
class ShowId(SpotifyId.SpotifyId):
|
class ShowId(SpotifyId):
|
||||||
_PATTERN = re.compile("spotify:show:(.{22})")
|
_PATTERN = re.compile("spotify:show:(.{22})")
|
||||||
_BASE62 = Base62.create_instance_with_inverted_character_set()
|
_BASE62 = Base62.create_instance_with_inverted_character_set()
|
||||||
_hexId: str
|
_hexId: str
|
||||||
|
|
Loading…
Reference in New Issue