mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +00:00
Cleaner fix for #6
This commit is contained in:
parent
b25cf501c2
commit
911e8a5083
@ -25,4 +25,4 @@ async def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
|
@ -153,7 +153,7 @@ def main():
|
||||
"""
|
||||
Main function.
|
||||
"""
|
||||
asyncio.run(_main())
|
||||
asyncio.get_event_loop().run_until_complete(_main())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user