Skip to content

Commit

Permalink
bugfix: 密码字符串包含 \ 导致的转义,见PR IanSmith123/ucas-covid19#34
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSmith123 committed Jan 27, 2021
1 parent 2745a78 commit 5334eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@

# 全局变量,如果使用自己的服务器运行请根据需要修改 ->以下变量<-
user = "USERNAME" # sep 账号
passwd = "PASSWORD" # sep 密码
passwd = r"PASSWORD" # sep 密码
api_key = "API_KEY" # 可选, server 酱的通知 api key

# 可选,如果需要邮件通知,那么修改下面五行 :)
smtp_port = "SMTP_PORT"
smtp_server = "SMTP_SERVER"
sender_email = "SENDER_EMAIL"
sender_email_passwd = "SENDER_EMAIL_PASSWD"
sender_email_passwd = r"SENDER_EMAIL_PASSWD"
receiver_email = "RECEIVER_EMAIL"

# 全局变量,使用自己的服务器运行请根据需要修改 ->以上变量<-
Expand Down

0 comments on commit 5334eba

Please sign in to comment.