Update server.py
All checks were successful
/ check (push) Successful in 12s

This commit is contained in:
Nova Cat 2025-01-28 18:07:17 -08:00
parent 3ee5f32f5f
commit 2f33a0199c

View file

@ -199,7 +199,7 @@ def pinger(nick, connection):
try:
connection.sendall(bytes(f"PING {server}\r\n","UTF-8"))
except Exception as ex:
print(traceback.format_exc)
print(traceback.format_exc())
property_list[nick]["cause"] = "Send error: " + str(ex)
print("SHUTTING DOWN FOR " + nick)
connection.shutdown(socket.SHUT_WR)