mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-20 03:02:40 +03:00
Need to int() a division if passing where an int is required
This commit is contained in:
1 parent
074cf8a119
commit
725cf6f1e8
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