Browse Source

Intendation fixes

sh4nks 10 years ago
parent
commit
eff2871462
2 changed files with 3 additions and 3 deletions
  1. 2 2
      flaskbb/auth/views.py
  2. 1 1
      flaskbb/management/views.py

+ 2 - 2
flaskbb/auth/views.py

@@ -118,8 +118,8 @@ def forgot_password():
             flash(_("E-Mail sent! Please check your inbox."), "info")
             flash(_("E-Mail sent! Please check your inbox."), "info")
             return redirect(url_for("auth.forgot_password"))
             return redirect(url_for("auth.forgot_password"))
         else:
         else:
-            flash(_("You have entered an username or email that is not linked \
-                with your account"), "danger")
+            flash(_("You have entered an username or email that is not linked "
+                    "with your account"), "danger")
     return render_template("auth/forgot_password.html", form=form)
     return render_template("auth/forgot_password.html", form=form)
 
 
 
 

+ 1 - 1
flaskbb/management/views.py

@@ -135,7 +135,7 @@ def edit_user(user_id):
         form.populate_obj(user)
         form.populate_obj(user)
         user.primary_group_id = form.primary_group.data.id
         user.primary_group_id = form.primary_group.data.id
 
 
-       # Don't override the password
+        # Don't override the password
         if form.password.data:
         if form.password.data:
             user.password = form.password.data
             user.password = form.password.data