diff options
author | Lance Stout <lancestout@gmail.com> | 2013-01-26 14:12:44 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-01-26 14:12:44 -0800 |
commit | 7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5 (patch) | |
tree | 2085ada90960b91ba8000c2472017276cd9b53d8 /sleekxmpp/plugins | |
parent | ef9c8e910cab4f591619085879b983d545e2e84b (diff) | |
download | slixmpp-7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5.tar.gz slixmpp-7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5.tar.bz2 slixmpp-7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5.tar.xz slixmpp-7f42d15175b5ddb6c74ffc11e2104ab7bc5adcf5.zip |
Fix ping event issue.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0199/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |