diff --git a/dashboard.py b/dashboard.py index e971ab68..c135c6ae 100644 --- a/dashboard.py +++ b/dashboard.py @@ -1,4 +1,3 @@ -from past.utils import old_div import json from calendar import timegm from operator import itemgetter @@ -74,7 +73,7 @@ class Dashboard(FileSystemEventHandler): # 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(old_div(self._POLL * 1000,2), self.poll, True) + self.root.after(self._POLL * 1000/2, self.poll, True) return True