diff --git a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py index 7b359abb3..53d02ae9d 100644 --- a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py +++ b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py @@ -120,7 +120,7 @@ class MonkeyIslandClient(object): assert False def _reset_island_mode(self): - if self.requests.put("api/island/mode", data='{"mode": "unset"}').ok: + if self.requests.put("api/island/mode", data='"unset"').ok: LOGGER.info("Resseting island mode after the test.") else: LOGGER.error("Failed to reset island mode")