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:
parent
57f429fff0
commit
4d03d6e16e
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ async def refresh_task(self, jid, callback, key, val=None):
|
||||||
task_manager[jid][key] = loop.call_at(
|
task_manager[jid][key] = loop.call_at(
|
||||||
loop.time() + 60 * float(val),
|
loop.time() + 60 * float(val),
|
||||||
loop.create_task,
|
loop.create_task,
|
||||||
callback(self, jid)
|
(callback(self, jid))
|
||||||
# send_update(jid)
|
# send_update(jid)
|
||||||
)
|
)
|
||||||
# task_manager[jid][key] = loop.call_later(
|
# task_manager[jid][key] = loop.call_later(
|
||||||
|
|
Loading…
Reference in a new issue