Skip to content

Commit c4486c8

Browse files
committed
Fix code style
1 parent 6dd26e0 commit c4486c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_celery_beat/schedulers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def __init__(self, model, app=None):
9696
model.last_run_at = model.date_changed or self._default_now()
9797

9898
if self.model.start_time:
99-
if isinstance(model.schedule, schedules.schedule) and not isinstance(model.schedule, schedules.crontab):
99+
if isinstance(model.schedule, schedules.schedule) \
100+
and not isinstance(model.schedule, schedules.crontab):
100101
# if last_run_at is not set and
101102
# model.start_time last_run_at should be in way past.
102103
# This will trigger the job to run at start_time

0 commit comments

Comments
 (0)