This commit is contained in:
Aevann1 2021-07-21 04:05:54 +02:00
parent 3b4df162af
commit 6e2cafbdc6
2 changed files with 1 additions and 2 deletions

View file

@ -375,7 +375,7 @@ def thumbs(new_post):
for chunk in image_req.iter_content(1024):
file.write(chunk)
post.thumburl = upload_from_file(name, tempname, resize=(375, 227))
post.thumburl = upload_from_file(name, tempname, resize=(150, 100))
if post.thumburl: post.has_thumb = True
g.db.add(post)
g.db.commit()