mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 21:44:51 +00:00
Fix update_worker not being async
This commit is contained in:
parent
14feffce84
commit
301ba799cf
1 changed files with 2 additions and 2 deletions
|
|
@ -108,9 +108,9 @@ class Dispatcher:
|
|||
|
||||
self.groups[group].remove(handler)
|
||||
|
||||
def update_worker(self):
|
||||
async def update_worker(self):
|
||||
while True:
|
||||
update = self.updates.get()
|
||||
update = await self.updates.get()
|
||||
|
||||
if update is None:
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue