"list staffers pdf"

This commit is contained in:
Doug Le Tough 2018-05-09 11:20:54 +02:00
parent efaaa60c2c
commit f29b16320e
1 changed files with 4 additions and 4 deletions

View File

@ -1064,10 +1064,10 @@ def print_users():
return render_template('list_users.html', staffers=staffers)
# User is not admin
return render_template('login_or_register.html', message="Utilisateur ou mot de passe invalide")
except Exception as e:
raise e
# User is not logged in
return render_template('login_or_register.html', message="%s" % e)
except Exception as e:
raise e
# User is not logged in
return render_template('login_or_register.html', message="%s" % e)
@app.route("/account/<ID>", methods=['GET', 'POST'])