remotes/1693045480750635534/spooky-22
Aevann1 2021-09-05 12:26:27 +02:00
parent b53f126523
commit 51c3acf90a
1 changed files with 2 additions and 2 deletions

View File

@ -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