Merge pull request #226 from imo/develop
Correct argument order by using keyword for keepalive.
This commit is contained in:
commit
f76f0c3787
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue