😖再次更新获取系统变量方式为小括号

This commit is contained in:
Qinyang Liu
2024-07-03 10:40:17 +08:00
committed by GitHub
parent fe9f4ef675
commit aec1cb0a90

2
run.py
View File

@ -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.getenv["SMTP_PWD"]
password = os.getenv("SMTP_PWD")
if config["email_push"]["enable"]:
print("邮件推送已启用")