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 9d6e3b8f..1cfc8c72 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:
- resp.send()
+ yield from resp.send_coroutine()
logging.info("Account created for %s!" % self.boundjid)
except IqError as e:
logging.error("Could not register account: %s" %