🤩更新run.py,测试密码是否成功读取

This commit is contained in:
Qinyang Liu 2024-07-04 14:58:39 +08:00 committed by GitHub
parent 186342007c
commit fb15e2339e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
run.py
View File

@ -28,7 +28,7 @@ if config["email_push"]["enable"] or config["rss_subscribe"]["enable"]:
port = email_settings["port"]
use_tls = email_settings["use_tls"]
password = os.getenv("SMTP_PWD")
print("密码检测是否存在:", password[:6], "**********")
print("密码检测是否存在:", password[:4], "****", password[-3:])
if config["email_push"]["enable"]:
print("邮件推送已启用")