mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-25 01:06:05 +03:00
Need to int() a division if passing where an int is required
This commit is contained in:
1 parent
5341651c83
commit
9bfe7134a9
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user