This commit is contained in:
Torma Kristóf 2021-04-25 12:34:17 +02:00
parent ee7bef7295
commit 0a17d98781
2 changed files with 2 additions and 2 deletions

View File

@ -18,4 +18,4 @@ try:
DATETIMES.append(datetime.now()) DATETIMES.append(datetime.now())
except KeyboardInterrupt: except KeyboardInterrupt:
socket.close() socket.close()
print(DATETIMES) print(DATETIMES)

View File

@ -12,4 +12,4 @@ try:
while True: while True:
socket.send_string(f"test {msg_body}") socket.send_string(f"test {msg_body}")
except KeyboardInterrupt: except KeyboardInterrupt:
socket.close() socket.close()