asyncio
This commit is contained in:
@@ -10,9 +10,7 @@ import asyncio
|
||||
def main():
|
||||
args = parseCommandLine()
|
||||
game = createGame(args)
|
||||
event_loop = asyncio.get_event_loop()
|
||||
event_loop.run_until_complete(game.run())
|
||||
event_loop.close()
|
||||
asyncio.run(game.run())
|
||||
|
||||
|
||||
def parseCommandLine():
|
||||
|
||||
Reference in New Issue
Block a user