diff --git a/gui.py b/gui.py index f9850b4..79bafc1 100644 --- a/gui.py +++ b/gui.py @@ -17,7 +17,7 @@ def start(): global client client = Client(host.get(), port.get()) except ConnectionError: - showerror("Error", "can't connect tu server !") + showerror("Error", "can't connect to server !") else: login.destroy() diff --git a/server.py b/server.py index 74780bf..10e6c72 100644 --- a/server.py +++ b/server.py @@ -11,7 +11,7 @@ class Server(Socket): self.socket.listen(5) self.service_id = service_id self.command_suffix = "/" - self.welcom_msg = "Welcom ! Type \"/help\" to see commands and \"quit\" to exit" + self.welcome_msg = "Welcome ! Type \"/help\" to see commands and \"quit\" to exit" self.commands = {"help": self.command_help, "players list": self.command_players_list} self.clients = dict() print("Wait for connexion...") @@ -27,7 +27,7 @@ class Server(Socket): name = self.client_name(c) if name: self.clients[name] = c - self.send(self.clients[name], self.welcom_msg) + self.send(self.clients[name], self.welcome_msg) self.broadcast(f"{name} is online !") Thread(target=self.listen_client, args=(name,)).start()