This commit is contained in:
Aevann1 2021-09-05 12:24:31 +02:00
parent ff9a312270
commit a10c9f9fd5
2 changed files with 6 additions and 2053 deletions

View file

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