Browse code

"list staffers pdf"

Doug Le Tough authored on 09/05/2018 09:21:33
Showing 1 changed files
... ...
@@ -1061,7 +1061,7 @@ def print_users():
1061 1061
   try:
1062 1062
     if session['is_admin']:
1063 1063
       staffers = Tetawebapp_users.query.filter(Tetawebapp_users.is_admin==0, Tetawebapp_users.link_id==None).order_by(Tetawebapp_users.name).all()
1064
-      return render_template('list_users.html', staffers=staffers)
1064
+      return render_template('list_users_txt.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 1067
   except Exception as e: