summaryrefslogtreecommitdiff
path: root/examples/register_account.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/register_account.py')
-rwxr-xr-xexamples/register_account.py2
1 files changed, 1 insertions, 1 deletions
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" %