游戏日报 grafana->png sendmail

This commit is contained in:
pengtao 2019-10-31 16:42:13 +08:00
parent e9e49bbfce
commit 50ae91ee50

View File

@ -4,7 +4,7 @@ from flask_mail import Mail, Message
import os
from threading import Thread
PEOPLE_FOLDER = os.path.join('../static', 'images')
PEOPLE_FOLDER = os.path.join(os.path.abspath('.'), '/static/images')
app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = PEOPLE_FOLDER