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

Commit e95148d

Browse files
author
KrazyKirby99999
authored
Merge pull request #111 from KrazyKirby99999/fix-110
fix: 🚨 Tests show DeprecationWarning: There is no current event loop
2 parents 911816d + 834ea00 commit e95148d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplematrixbotlib/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ def run(self):
7676
7777
"""
7878

79-
asyncio.get_event_loop().run_until_complete(self.main())
79+
asyncio.run(self.main())

0 commit comments

Comments
 (0)