diff --git a/apps/enm/tasks.py b/apps/enm/tasks.py index aecf8dcc..16ca32ca 100644 --- a/apps/enm/tasks.py +++ b/apps/enm/tasks.py @@ -141,7 +141,7 @@ def cal_mpointstats(is_now=1): now, pre = get_current_and_previous_time() if is_now: for mpoint in Mpoint.objects.filter(is_auto=True): - cal_mpointstat_hour.delay(mpoint.id, now.year, now.moth, now.day, now.hour) + cal_mpointstat_hour.delay(mpoint.id, now.year, now.month, now.day, now.hour) else: for mpoint in Mpoint.objects.filter(is_auto=True): cal_mpointstat_hour.delay(mpoint.id, pre.year, pre.month, pre.day, pre.hour)