fix sidebar resizing

master
Aevann 2023-11-05 00:13:32 +02:00
parent 078933f17d
commit 9794dfc061
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ def upload_hole_sidebar(v, hole):
name = f'/images/{time.time()}'.replace('.','') + '.webp' name = f'/images/{time.time()}'.replace('.','') + '.webp'
file.save(name) file.save(name)
sidebarurl = process_image(name, v, resize=1600) sidebarurl = process_image(name, v, resize=400)
hole.sidebarurls.append(sidebarurl) hole.sidebarurls.append(sidebarurl)