传递日期参数
This commit is contained in:
parent
72f4f9ea07
commit
e071eda29b
@ -73,7 +73,7 @@ def send_dailyreport():
|
||||
print(data)
|
||||
#data[day] = day
|
||||
msg.subject = f"{project}_{day}_数据"
|
||||
msg.html = render_template('report.html', data=data)
|
||||
msg.html = render_template('report.html', data=data, day=day)
|
||||
|
||||
thread = Thread(target=send_async_email, args=[app, msg])
|
||||
thread.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user