From 7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 26 Jan 2013 14:12:44 -0800 Subject: Fix ping event issue. --- sleekxmpp/plugins/xep_0199/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0199/ping.py b/sleekxmpp/plugins/xep_0199/ping.py index e095a551..b024880e 100644 --- a/sleekxmpp/plugins/xep_0199/ping.py +++ b/sleekxmpp/plugins/xep_0199/ping.py @@ -103,7 +103,7 @@ class XEP_0199(BasePlugin): def disable_keepalive(self, event=None): self.xmpp.scheduler.remove('Ping keepalive') - def _keepalive(self, event): + def _keepalive(self, event=None): log.debug("Keepalive ping...") try: rtt = self.ping(self.xmpp.boundjid.host, self.timeout) -- cgit v1.2.3