Cleaner fix for #6

This commit is contained in:
rany
2022-03-09 20:36:09 +02:00
parent b25cf501c2
commit 911e8a5083
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ def main():
"""
Main function.
"""
asyncio.run(_main())
asyncio.get_event_loop().run_until_complete(_main())
if __name__ == "__main__":