Commit ad31acbcf09f761b2a70b8352a18c96297200ab6
Committed by
liujiqiang
1 parent
8454e259
优化邮件检测提示字符串
Showing
1 changed file
with
1 additions
and
1 deletions
src/main.py
@@ -52,7 +52,7 @@ def Send_email(filename): | @@ -52,7 +52,7 @@ def Send_email(filename): | ||
52 | print("\n list of send-email is null,won't send email!") | 52 | print("\n list of send-email is null,won't send email!") |
53 | elif len(l)!=0: | 53 | elif len(l)!=0: |
54 | for i in l: | 54 | for i in l: |
55 | - print(" check send-email format : {}".format(i)) | 55 | + print("\n check send-email format : {}".format(i)) |
56 | if re.match(r'^[0-9a-zA-Z_]{1,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$',i): | 56 | if re.match(r'^[0-9a-zA-Z_]{1,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$',i): |
57 | pass | 57 | pass |
58 | else: | 58 | else: |