diff --git a/cpu_governor_auto_adjust/triggers/time.py b/cpu_governor_auto_adjust/triggers/time.py index 311bb70..0ed5c7d 100644 --- a/cpu_governor_auto_adjust/triggers/time.py +++ b/cpu_governor_auto_adjust/triggers/time.py @@ -7,7 +7,6 @@ class TimeTrigger(Trigger): def __init__(self, _config: Config) -> None: super().__init__(_config) self.log.info("start time: %s, end time: %s", self.start_time(), self.end_time()) - def start_time(self) -> time: return datetime.strptime(self.config.custom_config['startTime'], '%H:%M').time()