From 782cfc8da86c5d9cb4ad26034186d570c62d8f5a Mon Sep 17 00:00:00 2001 From: mungai-njoroge Date: Sun, 30 Jul 2023 15:10:36 +0300 Subject: [PATCH] fix: remove default 50% banner_pos on update playlist image --- app/api/playlist.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/api/playlist.py b/app/api/playlist.py index 89b1a49..957a047 100644 --- a/app/api/playlist.py +++ b/app/api/playlist.py @@ -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