游戏日报 grafana->png sendmail
This commit is contained in:
parent
b177dc1ca6
commit
0fcff40ade
@ -35,6 +35,7 @@ def show_index():
|
||||
|
||||
msg.subject = f"test_游戏日报"
|
||||
full_filename = os.path.join(app.config['UPLOAD_FOLDER'], 'img2019-10-31.png')
|
||||
print(full_filename)
|
||||
msg.html = render_template('index.html', user_image=full_filename)
|
||||
|
||||
thread = Thread(target=send_async_email, args=[app, msg])
|
||||
|
Loading…
x
Reference in New Issue
Block a user