Fix AttributeError

This commit is contained in:
Denis 2021-04-24 17:39:52 +07:00
parent 8481226ff4
commit 84a43bed3d
2 changed files with 2 additions and 2 deletions

View File

@ -987,7 +987,7 @@ class Session(Closeable, SubListener, DealerClient.MessageListener):
self.session._scheduledReconnect)
def anonymous():
self._LOGGER.warning(
self.session._LOGGER.warning(
"Socket timed out. Reconnecting...")
self.session._reconnect()

View File

@ -7,7 +7,7 @@ from librespot.common import Utils
from librespot.metadata import SpotifyId
class ShowId(SpotifyId.SpotifyId):
class ShowId(SpotifyId):
_PATTERN = re.compile("spotify:show:(.{22})")
_BASE62 = Base62.create_instance_with_inverted_character_set()
_hexId: str