Agent: Default self._relay to None

This commit is contained in:
Mike Salvatore 2022-09-19 11:46:45 -04:00
parent 310b58392f
commit 9a1b5b67b5
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import subprocess
import sys
from ipaddress import IPv4Address, IPv4Interface
from pathlib import Path, WindowsPath
from typing import List
from typing import List, Optional
from pubsub.core import Publisher
@ -123,7 +123,7 @@ class InfectionMonkey:
self._telemetry_messenger = LegacyTelemetryMessengerAdapter()
self._current_depth = self._opts.depth
self._master = None
self._relay: TCPRelay
self._relay: Optional[TCPRelay] = None
@staticmethod
def _get_arguments(args):