Update server.py

This commit is contained in:
Nova Cat 2025-02-05 20:48:05 -08:00
parent c01c4208c9
commit 61f7e7a3ee

View file

@ -263,6 +263,7 @@ def session(connection, client, ip, isssl=False):
try: try:
connection.sendall(content) connection.sendall(content)
except (SSL.WantReadError, SSL.WantWriteError, SSL.WantX509LookupError, SSL.SysCallError): except (SSL.WantReadError, SSL.WantWriteError, SSL.WantX509LookupError, SSL.SysCallError):
print(traceback.format_exc())
print("Soft error occurred") print("Soft error occurred")
def tags_diffclient(nick:str): # Get tags of another client def tags_diffclient(nick:str): # Get tags of another client
othercap = property_list[nick]["v3cap"] othercap = property_list[nick]["v3cap"]