From c57d927660cc4da921949b4ed36319bd62073422 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 9 Oct 2024 19:38:46 +0200 Subject: [PATCH] Cleanup --- RNS/Interfaces/LocalInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/LocalInterface.py b/RNS/Interfaces/LocalInterface.py index 23fd068..c256b2c 100644 --- a/RNS/Interfaces/LocalInterface.py +++ b/RNS/Interfaces/LocalInterface.py @@ -176,8 +176,8 @@ class LocalClientInterface(Interface): self.send_lock = Lock() with self.send_lock: + # RNS.log(f"Simulating latency of {RNS.prettytime(s)} for {len(data)} bytes", RNS.LOG_EXTREME) s = len(data) / self.bitrate * 8 - RNS.log(f"Simulating latency of {RNS.prettytime(s)} for {len(data)} bytes") time.sleep(s) data = bytes([HDLC.FLAG])+HDLC.escape(data)+bytes([HDLC.FLAG])