From e3948526fe4e3077cd11944b6bec33c6a94a0cae Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 17 Aug 2024 14:38:07 +0200 Subject: [PATCH] Cleanup --- Examples/Link.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Examples/Link.py b/Examples/Link.py index 0bf3e32..cfb4a1b 100644 --- a/Examples/Link.py +++ b/Examples/Link.py @@ -70,7 +70,7 @@ def server_loop(destination): " running, waiting for a connection." ) - RNS.log("Hit enter to manually send an announce (Ctrl-C or 'quit' to quit)") + RNS.log("Hit enter to manually send an announce (Ctrl-C or \"quit\" to quit)") # We enter a loop that runs until the users exits. # If the user hits enter, we will announce our server @@ -99,11 +99,6 @@ def client_connected(link): latest_client_link = link def client_disconnected(link): - #import threading - #def close_job(): - # time.sleep(3) - # link.teardown() - #threading.Thread(target=close_job, daemon=True).start() RNS.log("Client disconnected") def server_packet_received(message, packet):