Rename module

This commit is contained in:
Fierelier 2021-04-09 16:42:52 +02:00
parent 5a394ea2d0
commit 6591a01459
1 changed files with 3 additions and 4 deletions

View File

@ -13,10 +13,9 @@ def textRequest(event,self,requestLength):
text = data.decode("utf-8")
print(":".join(map(str,self.address))+ " > " +text)
if text == "exit":
threadsLock.acquire()
global close
close = True
threadsLock.release()
with threadsLock:
global close
close = True
self.closeThread()
return True