Fixed the bug of ping.interval
raising an exception with any value
This commit is contained in:
parent
9b0c9a49e8
commit
84d4e87fbf
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,6 @@ class Module(bumblebee.engine.Module):
|
|||
return
|
||||
thread = threading.Thread(target=get_rtt, args=(self,widgets[0],))
|
||||
thread.start()
|
||||
self._next_check = int(time.time()) + widgets[0].get("interval")
|
||||
self._next_check = int(time.time()) + int(widgets[0].get("interval"))
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Reference in a new issue