Skip to content

Commit

Permalink
Removed a blocking loop from asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
CmdrNorthpaw committed Feb 11, 2020
1 parent 1358493 commit c8baee4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/server-main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ async def reciever():

server = websockets.serve(reciever, 'localhost', 9254)
asyncio.get_event_loop().run_until_complete(server)
asyncio.get_event_loop().run_forever()

bot.run(discordKey)

0 comments on commit c8baee4

Please sign in to comment.