diff --git a/dashboard.py b/dashboard.py index c135c6ae8..43ac67a74 100644 --- a/dashboard.py +++ b/dashboard.py @@ -73,7 +73,7 @@ def start(self, root, started): # Even if we're not intending to poll, poll at least once to process pre-existing # data and to check whether the watchdog thread has crashed due to events not # being supported on this filesystem. - self.root.after(self._POLL * 1000/2, self.poll, True) + self.root.after(int(self._POLL * 1000/2), self.poll, True) return True