add ninally

This commit is contained in:
MuedeHydra 2025-11-24 18:57:44 +01:00
parent 1edf5226dc
commit ada3404835

View File

@ -56,9 +56,9 @@ if __name__ == "__main__":
read_msg(s) read_msg(s)
except ConnectionRefusedError: except ConnectionRefusedError:
print("Could not connect to the server!") print("Could not connect to the server!")
finally:
s.close()
except KeyboardInterrupt: except KeyboardInterrupt:
print("Exit with CTRL+C") print("Exit with CTRL+C")
finally:
pass