forked from platypush/platypush
Replaced deprecated asyncio.wait([])
with asyncio.gather(*[])
.
This commit is contained in:
parent
cf91ab90df
commit
bce2fdee25
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ class NtfyPlugin(AsyncRunnablePlugin):
|
|||
)
|
||||
|
||||
async def listen(self):
|
||||
return await asyncio.wait(
|
||||
[
|
||||
return await asyncio.gather(
|
||||
*[
|
||||
self._get_ws_handler(f'{self._ws_url}/{sub}/ws')
|
||||
for sub in set(self._subscriptions)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue