mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add route to remove playlist banner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user