summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-01 15:01:25 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-01 15:01:25 +0200
commit992fe72554de694750519f3f12886023314a8278 (patch)
tree5ac5f4774cbc81c8505ac8d2f2295cf968ce23d2 /plugins
parent3ec9e80de48225c7f27c19cdc0546762c042d0d1 (diff)
downloadpoezio-992fe72554de694750519f3f12886023314a8278.tar.gz
poezio-992fe72554de694750519f3f12886023314a8278.tar.bz2
poezio-992fe72554de694750519f3f12886023314a8278.tar.xz
poezio-992fe72554de694750519f3f12886023314a8278.zip
Fix a few blocking iq, and remove all block=False function arguments
Diffstat (limited to 'plugins')
-rw-r--r--plugins/uptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uptime.py b/plugins/uptime.py
index 4614b230..dbeb6a63 100644
--- a/plugins/uptime.py
+++ b/plugins/uptime.py
@@ -33,4 +33,4 @@ class Plugin(BasePlugin):
return
iq = self.core.xmpp.makeIqGet(ito=jid.server)
iq.append(ET.Element('{jabber:iq:last}query'))
- iq.send(block=False, callback=callback)
+ iq.send(callback=callback)