bug fix
This commit is contained in:
@@ -38,7 +38,7 @@ class Command(BaseCommand):
|
|||||||
else:
|
else:
|
||||||
testing = False
|
testing = False
|
||||||
|
|
||||||
todaysalerts = Alert.objects.filter(next_run <= datetime.date.today(),emailalert=True)
|
todaysalerts = Alert.objects.filter(next_run__lte = datetime.date.today(),emailalert=True)
|
||||||
|
|
||||||
for alert in todaysalerts:
|
for alert in todaysalerts:
|
||||||
stats = alerts.alert_get_stats(alert)
|
stats = alerts.alert_get_stats(alert)
|
||||||
|
|||||||
Reference in New Issue
Block a user