1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-09-18 00:20:52 +00:00

Stop using asyncio.run. Fixes #13

This commit is contained in:
Tulir Asokan 2020-09-06 18:26:22 +03:00
parent aad04ba9b6
commit 8c45207b0f

View file

@ -252,5 +252,7 @@ async def main():
else:
parser.print_help()
await client.disconnect()
asyncio.run(main())
asyncio.get_event_loop().run_until_complete(main())