add route to remove playlist banner

This commit is contained in:
mungai-njoroge
2023-07-26 10:56:23 +03:00
parent 6439b512e9
commit 728c6c2def
4 changed files with 51 additions and 10 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ class Playlist:
self.count = len(self.trackhashes)
self.has_gif = bool(int(self.has_gif))
self.has_image = (Path(settings.Paths.get_playlist_img_path()) / str(self.image)).exists()
self.has_image = (
Path(settings.Paths.get_playlist_img_path()) / str(self.image)
).exists()
if self.image is not None:
self.thumb = "thumb_" + self.image