From 6e0dc0ca138f084a65888a1c8f15bc0eb86e9979 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 1 Sep 2022 13:27:40 +0200 Subject: [PATCH] Agent: Use super().__init__(...) in TCPRelay --- monkey/infection_monkey/tcp_relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/tcp_relay.py b/monkey/infection_monkey/tcp_relay.py index 77c4808b3..4d8cebe29 100644 --- a/monkey/infection_monkey/tcp_relay.py +++ b/monkey/infection_monkey/tcp_relay.py @@ -33,7 +33,7 @@ class TCPRelay(Thread): self._target_addr = target_addr self._target_port = target_port self._new_client_timeout = new_client_timeout - super(TCPRelay, self).__init__(name="MonkeyTcpRelayThread") + super().__init__(name="MonkeyTcpRelayThread") self.daemon = True self._relay_users: Dict[IPv4Address, RelayUser] = {} self._potential_users: Dict[IPv4Address, RelayUser] = {}