From a6bb81e4733728fab0349d27d64c931fcc7a5e83 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 15 Dec 2021 08:34:21 -0500 Subject: [PATCH] Agent: Fix order of Exploiter Callback type hint arguments --- monkey/infection_monkey/master/exploiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/master/exploiter.py b/monkey/infection_monkey/master/exploiter.py index 383fc6fe3..f1a804ba7 100644 --- a/monkey/infection_monkey/master/exploiter.py +++ b/monkey/infection_monkey/master/exploiter.py @@ -15,7 +15,7 @@ QUEUE_TIMEOUT = 2 logger = logging.getLogger() ExploiterName = str -Callback = Callable[[VictimHost, ExploiterName, ExploiterResultData], None] +Callback = Callable[[ExploiterName, VictimHost, ExploiterResultData], None] class Exploiter: