This commit is contained in:
Aevann1 2021-07-30 12:43:25 +02:00
parent f8744da4c2
commit c604bd0388
3 changed files with 16 additions and 17 deletions

View file

@ -535,7 +535,7 @@ def thumbs(new_post):
for chunk in image_req.iter_content(1024):
file.write(chunk)
post.thumburl = upload_file(resize=(100, 100))
post.thumburl = upload_file(resize=True)
g.db.add(post)
g.db.commit()