Need to int() a division if passing where an int is required

This commit is contained in:
Athanasius committed 2019-09-26 11:40:42 +01:00
1 parent 5341651c83
commit 9bfe7134a9
1 file changed
+1 -1
+1 -1
View File
@@ -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