forked from MarseyWorld/MarseyWorld
fix sidebar resizing
parent
078933f17d
commit
9794dfc061
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue