Stop using asyncio.run. Fixes #13
This commit is contained in:
parent
aad04ba9b6
commit
8c45207b0f
1 changed files with 3 additions and 1 deletions
|
@ -252,5 +252,7 @@ async def main():
|
||||||
else:
|
else:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
|
|
||||||
|
await client.disconnect()
|
||||||
|
|
||||||
asyncio.run(main())
|
|
||||||
|
asyncio.get_event_loop().run_until_complete(main())
|
||||||
|
|
Loading…
Add table
Reference in a new issue