From 0204a01e669c9bab86dab44dc83592f920b5fd04 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 6 Jan 2025 14:36:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E2=80=94=20Fix=20strange=20and?= =?UTF-8?q?=20buggy=20behavior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- argos/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argos/agent.py b/argos/agent.py index 2cca0d6..c03bb8e 100644 --- a/argos/agent.py +++ b/argos/agent.py @@ -196,7 +196,7 @@ class ArgosAgent: # pylint: disable-msg=too-many-instance-attributes await asyncio.gather(*requests) tasks = [] - for task in data: + for task in response.json(): tasks.append(self._complete_task(task)) if tasks: