diff options
author | Lance Stout <lancestout@gmail.com> | 2013-03-06 22:15:26 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-03-06 22:15:26 -0800 |
commit | f76f0c37876183447d8892b03e250f6c6b168cb4 (patch) | |
tree | 45050325ec9ce3934c2b9b6674c4eeeb7ed63c38 | |
parent | 44e2b5d945faecea33ce3aa41fe5853a139998c9 (diff) | |
parent | 01abd6a705ef33bcdc32b3079091cf8dc6aa8438 (diff) | |
download | slixmpp-f76f0c37876183447d8892b03e250f6c6b168cb4.tar.gz slixmpp-f76f0c37876183447d8892b03e250f6c6b168cb4.tar.bz2 slixmpp-f76f0c37876183447d8892b03e250f6c6b168cb4.tar.xz slixmpp-f76f0c37876183447d8892b03e250f6c6b168cb4.zip |
Merge pull request #226 from imo/develop
Correct argument order by using keyword for keepalive.
-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 b024880e..3987c19e 100644 --- a/sleekxmpp/plugins/xep_0199/ping.py +++ b/sleekxmpp/plugins/xep_0199/ping.py @@ -106,7 +106,7 @@ class XEP_0199(BasePlugin): def _keepalive(self, event=None): log.debug("Keepalive ping...") try: - rtt = self.ping(self.xmpp.boundjid.host, self.timeout) + rtt = self.ping(self.xmpp.boundjid.host, timeout=self.timeout) except IqTimeout: log.debug("Did not recieve ping back in time." + \ "Requesting Reconnect.") |