From c9b9a27c34d4ea3f68b97fdee524c5d6f63b3429 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 6 Apr 2022 12:43:48 +0530 Subject: [PATCH] Agent: Fix logic (indenting) in MonkeyTunnel --- monkey/infection_monkey/tunnel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/tunnel.py b/monkey/infection_monkey/tunnel.py index 55349dfd6..64b204b15 100644 --- a/monkey/infection_monkey/tunnel.py +++ b/monkey/infection_monkey/tunnel.py @@ -193,7 +193,7 @@ class MonkeyTunnel(Thread): except socket.timeout: continue - timer.set(self._calculate_timeout()) + timer.set(self._calculate_timeout()) logger.info("Closing tunnel") self._broad_sock.close()