diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-06 18:26:22 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-06 18:26:22 +0300 |
| commit | 8c45207b0f5a4ed441fab889fa42da69928de2f5 (patch) | |
| tree | 758d6ecb542041979ce05d69b835d73c82661efc /import.py | |
| parent | aad04ba9b6e62aa0f900e6fece894dfaa78c0d75 (diff) | |
Stop using asyncio.run. Fixes #13
Diffstat (limited to 'import.py')
| -rw-r--r-- | import.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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()) |
