summaryrefslogtreecommitdiff
path: root/examples/register_account.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-28 13:29:08 +0100
committermathieui <mathieui@mathieui.net>2015-02-28 19:02:44 +0100
commit83d00a5913e6b7ef71de602e793b3973866c7120 (patch)
tree08b5dca6880424d43e6c8baa951c37a7c2ac95ac /examples/register_account.py
parentbf5d7c83af320b7af629857aab7060302abfabf5 (diff)
downloadslixmpp-83d00a5913e6b7ef71de602e793b3973866c7120.tar.gz
slixmpp-83d00a5913e6b7ef71de602e793b3973866c7120.tar.bz2
slixmpp-83d00a5913e6b7ef71de602e793b3973866c7120.tar.xz
slixmpp-83d00a5913e6b7ef71de602e793b3973866c7120.zip
Fix examples relying on the changed API
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" %