From 2c26216e13d95cc9f445618760712ae19b7dbdc8 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 13 Sep 2019 17:59:56 +0100 Subject: [PATCH] dashboard.py: Missed de-future'ing old_div --- dashboard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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