Update apscheduler==3.10.1

This commit is contained in:
JonnyWong16 2023-03-03 10:20:50 -08:00
commit c2c8a8db53
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -33,7 +33,7 @@ class QtScheduler(BaseScheduler):
def _start_timer(self, wait_seconds): def _start_timer(self, wait_seconds):
self._stop_timer() self._stop_timer()
if wait_seconds is not None: if wait_seconds is not None:
wait_time = min(wait_seconds * 1000, 2147483647) wait_time = min(int(wait_seconds * 1000), 2147483647)
self._timer = QTimer.singleShot(wait_time, self._process_jobs) self._timer = QTimer.singleShot(wait_time, self._process_jobs)
def _stop_timer(self): def _stop_timer(self):