Merge pull request #83 from Majora320/master
Fixed the bug of `ping.interval` raising an exception with any value
This commit is contained in:
commit
15db0c7756
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