Skip to content

Commit 4e63c35

Browse files
Teippo2020liquidpele
authored andcommitted
Attempt to fix bug #80
Attempt to fix bug #80
1 parent 85c2b7b commit 4e63c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_celery_beat/schedulers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def _default_now(self):
143143
return now
144144

145145
def __next__(self):
146-
self.model.last_run_at = self.app.now()
146+
self.model.last_run_at = self._default_now()
147147
self.model.total_run_count += 1
148148
self.model.no_changes = True
149149
return self.__class__(self.model)

0 commit comments

Comments
 (0)