fix playlist image being lost on title edit

This commit is contained in:
geoffrey45
2022-04-09 10:13:32 +03:00
parent 2e512bc223
commit 90d646d674
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)