From da0e1549a2e2305f3ca5a8be344ef2c9981b2b14 Mon Sep 17 00:00:00 2001 From: flifloo Date: Fri, 19 Jul 2019 18:36:45 +0200 Subject: [PATCH] Correction of stupid misspellings --- gui.py | 2 +- server.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()