Agent: Use super().__init__(...) in TCPRelay

This commit is contained in:
Ilija Lazoroski 2022-09-01 13:27:40 +02:00
parent 9fae6cca20
commit 6e0dc0ca13
1 changed files with 1 additions and 1 deletions

View File

@ -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] = {}