gf
This commit is contained in:
parent
ff9a312270
commit
a10c9f9fd5
2 changed files with 6 additions and 2053 deletions
|
@ -493,12 +493,16 @@ def settings_images_profile(v):
|
|||
if 'pcm' in request.host: highres = upload_ibb(request.files["profile"])
|
||||
else: highres = upload_imgur(request.files["profile"])
|
||||
|
||||
if not highres: abort(400)
|
||||
if not highres:
|
||||
print("fuck")
|
||||
abort(400)
|
||||
|
||||
if 'pcm' in request.host: imageurl = upload_ibb(resize=True)
|
||||
else: imageurl = upload_imgur(resize=True)
|
||||
|
||||
if not imageurl: abort(400)
|
||||
if not imageurl:
|
||||
print("sex")
|
||||
abort(400)
|
||||
|
||||
v.highres = highres
|
||||
v.profileurl = imageurl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue