🐛 — Fix strange and buggy behavior

This commit is contained in:
Luc Didry 2025-01-06 14:36:42 +01:00
parent c3879e081f
commit 0204a01e66
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -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: