diff options
author | Patrick Horn <patrick.horn@gmail.com> | 2013-03-06 21:35:07 -0800 |
---|---|---|
committer | Patrick Horn <patrick.horn@gmail.com> | 2013-03-06 21:35:07 -0800 |
commit | 01abd6a705ef33bcdc32b3079091cf8dc6aa8438 (patch) | |
tree | 45050325ec9ce3934c2b9b6674c4eeeb7ed63c38 /sleekxmpp/plugins/xep_0199/ping.py | |
parent | 44e2b5d945faecea33ce3aa41fe5853a139998c9 (diff) | |
download | slixmpp-01abd6a705ef33bcdc32b3079091cf8dc6aa8438.tar.gz slixmpp-01abd6a705ef33bcdc32b3079091cf8dc6aa8438.tar.bz2 slixmpp-01abd6a705ef33bcdc32b3079091cf8dc6aa8438.tar.xz slixmpp-01abd6a705ef33bcdc32b3079091cf8dc6aa8438.zip |
Correct argument order by using keyword for keepalive.
Diffstat (limited to 'sleekxmpp/plugins/xep_0199/ping.py')
-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.") |