Revert "Use ensure_future instead of async"
This reverts commit a4d67ce041.
This commit is contained in:
@@ -57,7 +57,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
|
|||||||
|
|
||||||
self.add_event_handler("session_end", self.on_end_session)
|
self.add_event_handler("session_end", self.on_end_session)
|
||||||
|
|
||||||
asyncio.ensure_future(self.accept_routine())
|
asyncio.async(self.accept_routine())
|
||||||
|
|
||||||
self.scenario = scenario
|
self.scenario = scenario
|
||||||
self.biboumi = biboumi
|
self.biboumi = biboumi
|
||||||
|
|||||||
Reference in New Issue
Block a user