From 4d4e5bfb518ef05dfc0349161eaeea30319886cd Mon Sep 17 00:00:00 2001 From: vveeps <54472340+vveeps@users.noreply.github.com> Date: Thu, 7 Oct 2021 00:06:21 +0300 Subject: [PATCH] bugfix --- pomice/objects.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pomice/objects.py b/pomice/objects.py index 6707df7..d103691 100644 --- a/pomice/objects.py +++ b/pomice/objects.py @@ -68,8 +68,8 @@ class Playlist: self.name = playlist_info.get("name") self.selected_track = playlist_info.get("selectedTrack") - self.thumbnail = thumbnail - self.uri = uri + self._thumbnail = thumbnail + self._uri = uri if self.spotify: self.tracks = tracks @@ -90,9 +90,9 @@ class Playlist: @property def uri(self) -> Optional[str]: """Spotify album/playlist URI, or None if not a Spotify object.""" - return self.uri + return self._uri @property def thumbnail(self) -> Optional[str]: """Spotify album/playlist thumbnail, or None if not a Spotify object.""" - return self.thumbnail + return self._thumbnail