From b077ef91502c2e723afe5e0130c85103b0118648 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 19 Mar 2012 06:05:15 -0700 Subject: Fix error in the registration example. The now=True parameter was not being passed to allow the registration submission to be submitted while the send queue is paused. --- examples/register_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/register_account.py b/examples/register_account.py index 530afaec..17f075ab 100644 --- a/examples/register_account.py +++ b/examples/register_account.py @@ -101,7 +101,7 @@ class RegisterBot(sleekxmpp.ClientXMPP): resp['register']['password'] = self.password try: - resp.send() + resp.send(now=True) logging.info("Account created for %s!" % self.boundjid) except IqError as e: logging.error("Could not register account: %s" % -- cgit v1.2.3