From ee77eddaabaddb7d534fd307e5fc31c94cf85511 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Tue, 4 Oct 2022 17:50:39 +0000 Subject: [PATCH] Agent: Fix tuple type hint --- monkey/infection_monkey/exploit/HostExploiter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/exploit/HostExploiter.py b/monkey/infection_monkey/exploit/HostExploiter.py index e7dc45080..2e0faad36 100644 --- a/monkey/infection_monkey/exploit/HostExploiter.py +++ b/monkey/infection_monkey/exploit/HostExploiter.py @@ -132,7 +132,7 @@ class HostExploiter: self, target: str, propagation_success: bool, - tags: Tuple[str] = tuple(), + tags: Tuple[str, ...] = tuple(), error_message: str = "", ): propagation_event = PropagationEvent( @@ -149,7 +149,7 @@ class HostExploiter: self, target: str, exploitation_success: bool, - tags: Tuple[str] = tuple(), + tags: Tuple[str, ...] = tuple(), error_message: str = "", ): exploitation_event = ExploitationEvent(