diff --git a/ovos_bus_client/util/scheduler.py b/ovos_bus_client/util/scheduler.py index a0044cd..f603339 100644 --- a/ovos_bus_client/util/scheduler.py +++ b/ovos_bus_client/util/scheduler.py @@ -222,9 +222,7 @@ def schedule_event(self, event: str, sched_time: float, LOG.error("Refusing to schedule event, system clock is in the past!") self._dropped_events += 1 return - elif datetime.datetime.fromtimestamp(sched_time) < datetime.datetime.now(): - LOG.error("Refusing to schedule event, it is in the past!") - return + data = data or {} with self.event_lock: # get current list of scheduled times for event, [] if missing