This commit is contained in:
Aevann1 2021-12-11 20:08:03 +02:00
parent 752d9c8e66
commit f2a7d89ddd
9 changed files with 17 additions and 17 deletions

View file

@ -697,7 +697,7 @@ def thumbnail_thread(pid):
for chunk in image_req.iter_content(1024):
file.write(chunk)
post.thumburl = "https://" + site + process_image(name, True)
post.thumburl = f"https://{site}/" + process_image(name, True)
db.add(post)
db.commit()
db.close()