From 0090c7088995408387e893687d7e16d57525161e Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Wed, 9 May 2018 10:33:09 +0200 Subject: [PATCH] "list staffers pdf" --- participate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/participate.py b/participate.py index 2de97c3..3833763 100755 --- a/participate.py +++ b/participate.py @@ -1065,7 +1065,7 @@ def print_users(): #~ staffs = Tetawebapp_staffs.query(Tetawebapp_staffs.user_id).distinct() staffers = Tetawebapp_users.query.filter(Tetawebapp_users.is_admin==0, Tetawebapp_users.link_id==None).order_by(Tetawebapp_users.name).all() #~ sstaffers = [staffer for staffer in staffers if staffer.id in staffs] - return sstaffers + return staffers # User is not admin return render_template('login_or_register.html', message="Utilisateur ou mot de passe invalide") except Exception as e: