From 50ae91ee50aa107d66d20546853bfca65dd6a8b0 Mon Sep 17 00:00:00 2001 From: pengtao Date: Thu, 31 Oct 2019 16:42:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=97=A5=E6=8A=A5=20grafana-?= =?UTF-8?q?>png=20sendmail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daily_report/test_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daily_report/test_report.py b/daily_report/test_report.py index 017a99d..d858345 100644 --- a/daily_report/test_report.py +++ b/daily_report/test_report.py @@ -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