1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

dashboard.py: Missed de-future'ing old_div

This commit is contained in:
Athanasius 2019-09-13 17:59:56 +01:00
parent 477a460943
commit 6b75fdb34c

View File

@ -1,4 +1,3 @@
from past.utils import old_div
import json
from calendar import timegm
from operator import itemgetter
@ -74,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(old_div(self._POLL * 1000,2), self.poll, True)
self.root.after(self._POLL * 1000/2, self.poll, True)
return True