Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix: 🚨 Use asyncio.run instead of asyncio.get_event_loop().run_until_…
Browse files Browse the repository at this point in the history
…complete in bot.run()
  • Loading branch information
krazykirby99999 committed Dec 28, 2021
1 parent 911816d commit 834ea00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplematrixbotlib/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ def run(self):
"""

asyncio.get_event_loop().run_until_complete(self.main())
asyncio.run(self.main())

0 comments on commit 834ea00

Please sign in to comment.