From b53f12652393d135427e59749617b492259c43d4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 12:26:14 +0200 Subject: [PATCH] fd --- files/routes/settings.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index caded9db3..27da6a621 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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