Revert "Add keywords to arguments that create RansomwarePayload in monkey.py"

This reverts commit e34599779b.
This commit is contained in:
Mike Salvatore 2021-06-29 09:55:29 -04:00
parent 7e7d46d4e7
commit f8579300b3
1 changed files with 1 additions and 2 deletions

View File

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