From 83d00a5913e6b7ef71de602e793b3973866c7120 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 28 Feb 2015 13:29:08 +0100 Subject: Fix examples relying on the changed API --- examples/register_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/register_account.py') diff --git a/examples/register_account.py b/examples/register_account.py index 1cfc8c72..8ec238e9 100755 --- a/examples/register_account.py +++ b/examples/register_account.py @@ -90,7 +90,7 @@ class RegisterBot(slixmpp.ClientXMPP): resp['register']['password'] = self.password try: - yield from resp.send_coroutine() + yield from resp.send() logging.info("Account created for %s!" % self.boundjid) except IqError as e: logging.error("Could not register account: %s" % -- cgit v1.2.3