sneed
This commit is contained in:
parent
e21259260c
commit
922aa24a7b
2 changed files with 8 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue