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}")