forked from rDrama/rDrama
sneed
parent
7ec680f735
commit
23a7e853a0
|
@ -1085,7 +1085,7 @@ def delete_post_pid(pid, v):
|
||||||
for chunk in x.iter_content(1024):
|
for chunk in x.iter_content(1024):
|
||||||
file.write(chunk)
|
file.write(chunk)
|
||||||
|
|
||||||
image = upload_from_file("resizing", "resizing", (50, 50))
|
image = upload_from_file("resizing", "resizing", (100, 100))
|
||||||
u.profileurl = image
|
u.profileurl = image
|
||||||
u.resized = True
|
u.resized = True
|
||||||
g.db.add(u)
|
g.db.add(u)
|
||||||
|
|
|
@ -39,7 +39,7 @@ def leaderboard(v):
|
||||||
for chunk in x.iter_content(1024):
|
for chunk in x.iter_content(1024):
|
||||||
file.write(chunk)
|
file.write(chunk)
|
||||||
|
|
||||||
image = upload_from_file("resizing", "resizing", (50, 50))
|
image = upload_from_file("resizing", "resizing", (100, 100))
|
||||||
u.profileurl = image
|
u.profileurl = image
|
||||||
u.resized = True
|
u.resized = True
|
||||||
g.db.add(u)
|
g.db.add(u)
|
||||||
|
|
Loading…
Reference in New Issue