We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72c062 commit b997774Copy full SHA for b997774
django_cron/management/commands/runcrons.py
@@ -68,4 +68,4 @@ def clear_old_log_entries():
68
"""
69
if hasattr(settings, 'DJANGO_CRON_DELETE_LOGS_OLDER_THAN'):
70
delta = timedelta(days=settings.DJANGO_CRON_DELETE_LOGS_OLDER_THAN)
71
- CronJobLog.objects.filter(end_time__lt=get_current_time()-delta).delete()
+ CronJobLog.objects.filter(end_time__lt=get_current_time() - delta).delete()
0 commit comments