fix: cal_mpointstats 字符写错
This commit is contained in:
parent
9f46722f48
commit
7af0447928
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue