Skip to content

Commit

Permalink
Need to int() a division if passing where an int is required
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanasius committed Sep 26, 2019
1 parent 5341651 commit 9bfe713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.py
Expand Up @@ -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

Expand Down

0 comments on commit 9bfe713

Please sign in to comment.