dépôts
/
cavote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a088209
)
rewrite \r\n instead of \n
author
Arnaud Delcasse
<arnaud@delcasse.fr>
Sat, 18 Aug 2012 16:54:30 +0000
(18:54 +0200)
committer
Arnaud Delcasse
<arnaud@delcasse.fr>
Sat, 18 Aug 2012 16:54:30 +0000
(18:54 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
3fcc5ae
..
21a7500
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-135,7
+135,7
@@
def password_lost():
link,
"",
"If you think this mail is not for you, please ignore and delete it."
- ), "\n")
+ ), "\
r\
n")
server = smtplib.SMTP(SMTP_SERVER)
server.sendmail(EMAIL, [user['email']], BODY)
server.quit()
@@
-264,7
+264,7
@@
def admin_user_add():
"To log in for the first time and set your password, please follow this link :",
link,
""
- ), "\n")
+ ), "\
r\
n")
server = smtplib.SMTP(SMTP_SERVER)
server.sendmail(EMAIL, [user['email']], BODY)
server.quit()