From 61cfd929298a8c785574bdf2bcaaab03fa8d5bda Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 24 Jun 2023 21:47:31 +0000 Subject: [PATCH] style: format code with black Format code with black This commit fixes the style issues introduced in 4d912d3 according to the output from Black. Details: https://app.deepsource.com/gh/Fluffy-Bean/GameExpo23/transform/dbebbafb-114d-4a54-9ece-1c04b2c4f943/ --- TFR/server/account.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/TFR/server/account.py b/TFR/server/account.py index 457df68..badb41b 100644 --- a/TFR/server/account.py +++ b/TFR/server/account.py @@ -128,9 +128,7 @@ def post_password_reset(): if not check_password_hash(user.password, current): error.append("Current password is incorrect!") if len(new) < 8: - error.append( - "New password is too short! Must be at least 8 characters long." - ) + error.append("New password is too short! Must be at least 8 characters long.") if new != confirm: error.append("New passwords do not match!") @@ -184,4 +182,4 @@ def post_delete_account(): flash("Successfully deleted account!", "success") logout_user() - return redirect(url_for("auth.auth")) \ No newline at end of file + return redirect(url_for("auth.auth"))