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