Browse Source

Stop using asyncio.run. Fixes #13

pull/26/head
Tulir Asokan 4 years ago
parent
commit
8c45207b0f
  1. 4
      import.py

4
import.py

@ -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…
Cancel
Save