1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

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

This commit is contained in:
Athanasius 2019-09-14 15:04:21 +01:00
parent 074cf8a119
commit 725cf6f1e8

@ -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