From fe9f4ef6757e10981bbfe35972158377b9076bef Mon Sep 17 00:00:00 2001 From: Qinyang Liu <93815242+willow-god@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=A5=E6=9B=B4=E6=96=B0=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=B3=BB=E7=BB=9F=E5=8F=98=E9=87=8F=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 8a8fa0b..11ac12f 100644 --- a/run.py +++ b/run.py @@ -26,7 +26,7 @@ if config["email_push"]["enable"] or config["rss_subscribe"]["enable"]: server = email_settings["server"] port = email_settings["port"] use_tls = email_settings["use_tls"] - password = os.environ["SMTP_PWD"] + password = os.getenv["SMTP_PWD"] if config["email_push"]["enable"]: print("邮件推送已启用")