🐱尝试打印密码前六位
This commit is contained in:
parent
1862ad9906
commit
a645ae32f8
3
run.py
3
run.py
@ -28,6 +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], "**********")
|
||||
|
||||
if config["email_push"]["enable"]:
|
||||
print("邮件推送已启用")
|
||||
@ -66,4 +67,4 @@ if config["rss_subscribe"]["enable"]:
|
||||
subject="清羽飞扬の最新文章:" + article["title"],
|
||||
body="文章链接:" + article["link"] + "\n" + "文章内容:" + article["summary"] + "\n" + "发布时间:" + article["published"],
|
||||
use_tls=use_tls
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user