fix lịch ghi hình và ngày lưu
This commit is contained in:
@@ -40,7 +40,7 @@ class Scheduler:
|
||||
async def tick(self, schedule: Schedule) -> None:
|
||||
now = datetime.now()
|
||||
state = should_record_now(now, schedule)
|
||||
if self._last_state != state:
|
||||
await self.apply(state)
|
||||
self._last_state = state
|
||||
# Always enforce desired state to recover from external/manual drift.
|
||||
await self.apply(state)
|
||||
self._last_state = state
|
||||
|
||||
|
||||
Reference in New Issue
Block a user