From 16a9f6060d902d0f96d510b42753983d56ca6d65 Mon Sep 17 00:00:00 2001 From: Richard Horton Date: Fri, 24 Nov 2017 10:14:11 +0000 Subject: [PATCH] Minor alterations --- Client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Client.py b/Client.py index 725c7fb..97d3ab2 100644 --- a/Client.py +++ b/Client.py @@ -10,6 +10,7 @@ def chatbotExit(): #Richard exitMessage = "END" thisSocket.send(exitMessage.encode()) window.quit() #Closes the GUI window which then leads to the rest of the program being able to end as mainloop() terminates + #The GUI will only close if the program is run normally such as from the terminal and not if it is run in the python shell due to how tkinter's quit function works return None def receiveMessage(i): #Richard