From f8579300b34b39290d3b2b35cd6955d5c02250ba Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 29 Jun 2021 09:55:29 -0400 Subject: [PATCH] Revert "Add keywords to arguments that create RansomwarePayload in monkey.py" This reverts commit e34599779b5e23c1a678ed5d1f23fe568bb93642. --- monkey/infection_monkey/monkey.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index b1bb61e4f..622c17d7d 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -477,8 +477,7 @@ class InfectionMonkey(object): try: RansomewarePayload( - config=WormConfiguration.ransomware, - telemetry_messenger=batching_telemetry_messenger, + WormConfiguration.ransomware, batching_telemetry_messenger ).run_payload() except Exception as ex: LOG.error(f"An unexpected error occurred while running the ransomware payload: {ex}")