fix playlist image being lost on title edit (#29)

This commit is contained in:
Mungai Geoffrey
2022-04-14 11:31:52 +03:00
committed by GitHub
parent 2d6391b801
commit d285a3edf7
5 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ class Playlist:
if image:
return settings.IMG_PLAYLIST_URI + image
return settings.IMG_PLAYLIST_URI + ""
return settings.IMG_PLAYLIST_URI + "default.webp"
def update_count(self):
self.count = len(self._pre_tracks)