Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-jaworski committed Jun 24, 2015
1 parent d72c062 commit b997774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_cron/management/commands/runcrons.py
Expand Up @@ -68,4 +68,4 @@ def clear_old_log_entries():
"""
if hasattr(settings, 'DJANGO_CRON_DELETE_LOGS_OLDER_THAN'):
delta = timedelta(days=settings.DJANGO_CRON_DELETE_LOGS_OLDER_THAN)
CronJobLog.objects.filter(end_time__lt=get_current_time()-delta).delete()
CronJobLog.objects.filter(end_time__lt=get_current_time() - delta).delete()

0 comments on commit b997774

Please sign in to comment.