Commit 02fd69e8 authored by Alexandre LAM's avatar Alexandre LAM 🎓

Fix one person only bug not displayinh

parent 6a8999a5
...@@ -78,7 +78,8 @@ def search(*nom_list, email = False): ...@@ -78,7 +78,8 @@ def search(*nom_list, email = False):
if data.prenom == nom or data.nom == nom: if data.prenom == nom or data.nom == nom:
personnes_retenus.append(data.student_id) personnes_retenus.append(data.student_id)
personnes_retenus = del_singleton(personnes_retenus) if len(nom_list) > 1:
personnes_retenus = del_singleton(personnes_retenus)
print("") print("")
for personnes_id in personnes_retenus: for personnes_id in personnes_retenus:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment