use dict syntax instead of exhausting syntax
This commit is contained in:
parent
af44cc256c
commit
32fe113e0a
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -148,8 +148,8 @@ class GesMag:
|
|||
|
||||
def _interfaceManager(self, id: int):
|
||||
"""Affiche l'interface du manager."""
|
||||
manager = Utilisateurs().recuperationUtilisateur(id)[0]
|
||||
self.parent.title(f"Manager {manager[3]} {manager[4]}")
|
||||
manager = Utilisateurs().recuperationUtilisateur(id)
|
||||
self.parent.title(f"Manager {manager['nom']} {manager['prenom']}")
|
||||
self.dimensionsFenetre(1280, 720)
|
||||
|
||||
# Suppresssion de la dernière Frame
|
||||
|
|
Reference in a new issue