Laura: Fix runtime warning: coroutine was never awaited

```
/usr/lib/python3.11/asyncio/events.py:73: RuntimeWarning: coroutine 'send_update' was never awaited
  self._args = None
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.11/asyncio/events.py:73: RuntimeWarning: coroutine 'send_status' was never awaited
  self._args = None
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
```
Thank you, Laura
This commit is contained in:
Schimon Jehudah 2023-12-27 22:41:53 +00:00
parent 57f429fff0
commit 4d03d6e16e

View file

@ -364,7 +364,7 @@ async def refresh_task(self, jid, callback, key, val=None):
task_manager[jid][key] = loop.call_at(
loop.time() + 60 * float(val),
loop.create_task,
callback(self, jid)
(callback(self, jid))
# send_update(jid)
)
# task_manager[jid][key] = loop.call_later(