Browse Source

manage_participants: order list by ID

Baptiste Jonglez 9 years ago
parent
commit
cb3b0ed13b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      manage_participants.py

+ 1 - 1
manage_participants.py

@@ -14,7 +14,7 @@ db = SQLAlchemy(app)
 
 
 def show_participants():
-    for p in Participant.query.all():
+    for p in Participant.query.order_by(Participant.id).all():
         print("[{}] {}, {} ({}) is {} "
               "and has UUID {} ({})".format(p.id,
                                             p.name,