forked from rDrama/rDrama
1
0
Fork 0
Aevann 2022-12-23 02:47:01 +02:00
parent 2ad04d472c
commit e45fd63d64
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ def submit_post(v:User, sub=None):
name2 = name.replace('.webp', 'r.webp')
copyfile(name, name2)
post.thumburl = process_image(name2, v, resize=100)
post.thumburl = process_image(name2, v, resize=500)
elif file.content_type.startswith('video/'):
post.url = process_video(file, v)
name = f'/images/{time.time()}'.replace('.','') + '.webp'