mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
fix: remove default 50% banner_pos on update playlist image
This commit is contained in:
parent
d9688455fb
commit
782cfc8da8
@ -230,10 +230,6 @@ def update_playlist_info(playlistid: str):
|
||||
if image.content_type == "image/gif":
|
||||
playlist["settings"]["has_gif"] = True
|
||||
|
||||
# reset banner position to center.
|
||||
playlist["settings"]["banner_pos"] = 50
|
||||
# PL.update_banner_pos(int(playlistid), 50)
|
||||
|
||||
except UnidentifiedImageError:
|
||||
return {"error": "Failed: Invalid image"}, 400
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user