From 9bfe7134a94de390875c6792dfc6ff968db20efe Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 14 Sep 2019 15:04:21 +0100 Subject: [PATCH] Need to int() a division if passing where an int is required --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index c135c6ae..43ac67a7 100644 --- a/dashboard.py +++ b/dashboard.py @@ -73,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(self._POLL * 1000/2, self.poll, True) + self.root.after(int(self._POLL * 1000/2), self.poll, True) return True