Mercurial > libervia-web
diff libervia.py @ 422:20c508f9b32a
browser side: fixed bad use of Timer
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Mar 2014 17:34:01 +0100 |
parents | fadbba1d793f |
children | 77d8f55fc5f0 |
line wrap: on
line diff
--- a/libervia.py Tue Mar 25 16:09:12 2014 +0100 +++ b/libervia.py Wed Mar 26 17:34:01 2014 +0100 @@ -151,7 +151,7 @@ if isinstance(errobj['message'], dict) and errobj['message']['faultCode'] == 0: Window.alert('You are not allowed to connect to server') else: - def _timerCb(): + def _timerCb(timer): self.host.bridge_signals.call('getSignals', self.host._getSignalsCB) Timer(notify=_timerCb).schedule(self.retry_delay) self.retry_delay *= 2