Browse code

"list staffers pdf"

Doug Le Tough authored on 09/05/2018 09:20:54
Showing 1 changed files
... ...
@@ -1064,10 +1064,10 @@ def print_users():
1064 1064
       return render_template('list_users.html', staffers=staffers)
1065 1065
     # User is not admin
1066 1066
     return render_template('login_or_register.html', message="Utilisateur ou mot de passe invalide")
1067
-    except Exception as e:
1068
-      raise e
1069
-      # User is not logged in
1070
-      return render_template('login_or_register.html', message="%s" % e)
1067
+  except Exception as e:
1068
+    raise e
1069
+    # User is not logged in
1070
+    return render_template('login_or_register.html', message="%s" % e)
1071 1071
 
1072 1072
 
1073 1073
 @app.route("/account/<ID>", methods=['GET', 'POST'])