mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
fix: updating playlist losing pin state on response object
This commit is contained in:
parent
fcb705cb0c
commit
6c8f30bbaf
@ -30,8 +30,8 @@ class Playlist:
|
||||
|
||||
if isinstance(self.settings, str):
|
||||
self.settings = dict(json.loads(self.settings))
|
||||
self.pinned = self.settings.get("pinned", False)
|
||||
|
||||
self.pinned = self.settings.get("pinned", False)
|
||||
self.has_image = (
|
||||
Path(settings.Paths.get_playlist_img_path()) / str(self.image)
|
||||
).exists()
|
||||
|
Loading…
x
Reference in New Issue
Block a user