Revert "Use ensure_future instead of async"

This reverts commit a4d67ce041.
This commit is contained in:
louiz’
2016-10-21 19:12:25 +02:00
parent ac32d25738
commit 8b8bbceeb3
+1 -1
View File
@@ -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