This commit is contained in:
Aevann1 2021-07-22 22:24:54 +02:00
parent e21259260c
commit 922aa24a7b
2 changed files with 8 additions and 6 deletions

View file

@ -1087,6 +1087,7 @@ def delete_post_pid(pid, v):
file.write(chunk)
image = upload_from_file("resizing", "resizing", (100, 100))
if image != None:
u.profileurl = image
u.resized = True
g.db.add(u)

View file

@ -41,6 +41,7 @@ def leaderboard(v):
file.write(chunk)
image = upload_from_file("resizing", "resizing", (100, 100))
if image != None:
u.profileurl = image
u.resized = True
g.db.add(u)