gf
This commit is contained in:
parent
24f85a697e
commit
4a924d4675
1 changed files with 2 additions and 2 deletions
|
@ -493,12 +493,12 @@ 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: print("fuck")
|
||||
if not highres: abort(400)
|
||||
|
||||
if 'pcm' in request.host: imageurl = upload_ibb(resize=True)
|
||||
else: imageurl = upload_imgur(resize=True)
|
||||
|
||||
if not imageurl: print("sex")
|
||||
if not imageurl: abort(400)
|
||||
|
||||
v.highres = highres
|
||||
v.profileurl = imageurl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue