From 1fc75f68ba3d389dbb55f7ef8156b033a60ceee5 Mon Sep 17 00:00:00 2001 From: Tymoteusz Dzienniak Date: Fri, 1 Dec 2023 16:00:21 +0100 Subject: [PATCH] Fix wrong format --- src/apscheduler/triggers/cron/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apscheduler/triggers/cron/__init__.py b/src/apscheduler/triggers/cron/__init__.py index 5ccb7c7c7..079548c2d 100644 --- a/src/apscheduler/triggers/cron/__init__.py +++ b/src/apscheduler/triggers/cron/__init__.py @@ -68,7 +68,9 @@ class CronTrigger(Trigger): end_time: datetime | None = attrs.field(converter=as_aware_datetime, default=None) timezone: tzinfo = attrs.field(converter=as_timezone, factory=get_localzone) _fields: list[BaseField] = attrs.field(init=False, eq=False, factory=list) - _last_fire_time: datetime | None = attrs.field(converter=as_aware_datetime, init=False, eq=False, default=None) + _last_fire_time: datetime | None = attrs.field( + converter=as_aware_datetime, init=False, eq=False, default=None + ) def __attrs_post_init__(self) -> None: self._set_fields(