Skip to content
Snippets Groups Projects
Commit 44fe498b authored by Jdrezen's avatar Jdrezen
Browse files

Ajout de commentaires

parent a068dbca
No related branches found
No related tags found
No related merge requests found
......@@ -267,11 +267,13 @@ class Controleur:
"""
Messages you want to show in the console
You can let a string empty, but not the both
Display a message in the logs
"""
def errorDisplay(self,typeError : str, message : str)-> None:
self.__fenetre.errorDisplay(typeError, message)
def logsDisplay(self, message : str) -> None:
self.__fenetre.logsDisplay(message)
"""
Display an error in the logs
"""
def errorDisplay(self, typeError : str, message : str)-> None:
self.__fenetre.errorDisplay(typeError, message)
......@@ -48,14 +48,14 @@ class PanelLogs(Text):
"""
insert the text we want in the texte place
Display a message in the logs
"""
def logsDisplay(self, message : str) -> None:
place=self.getText()
place.insert("end", message+"\n")
"""
Displaying logs on the screen
Display an error in the logs
"""
def errorDisplay(self,typeError : str, message : str) -> None:
def errorDisplay(self, typeError : str, message : str) -> None:
self.logsDisplay("Erreur : "+typeError+", "+" : "+message)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment