Rename module
This commit is contained in:
parent
5a394ea2d0
commit
6591a01459
@ -13,10 +13,9 @@ def textRequest(event,self,requestLength):
|
|||||||
text = data.decode("utf-8")
|
text = data.decode("utf-8")
|
||||||
print(":".join(map(str,self.address))+ " > " +text)
|
print(":".join(map(str,self.address))+ " > " +text)
|
||||||
if text == "exit":
|
if text == "exit":
|
||||||
threadsLock.acquire()
|
with threadsLock:
|
||||||
global close
|
global close
|
||||||
close = True
|
close = True
|
||||||
threadsLock.release()
|
|
||||||
|
|
||||||
self.closeThread()
|
self.closeThread()
|
||||||
return True
|
return True
|
Loading…
Reference in New Issue
Block a user