parent
fd4dcae2c8
commit
7d211f7cf7
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ def pinger(nick, connection):
|
||||||
try:
|
try:
|
||||||
connection.sendall(bytes(f"PING {server}\r\n","UTF-8"))
|
connection.sendall(bytes(f"PING {server}\r\n","UTF-8"))
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
print(traceback.format_exc)
|
||||||
property_list[nick]["cause"] = "Send error: " + str(ex)
|
property_list[nick]["cause"] = "Send error: " + str(ex)
|
||||||
print("SHUTTING DOWN FOR " + nick)
|
print("SHUTTING DOWN FOR " + nick)
|
||||||
connection.shutdown(socket.SHUT_WR)
|
connection.shutdown(socket.SHUT_WR)
|
||||||
|
|
Loading…
Add table
Reference in a new issue