|
@@ -124,7 +124,7 @@ def password_lost():
|
|
|
"From: %s" % EMAIL,
|
|
|
"To: %s" % user['email'],
|
|
|
"Subject: [Cavote] Password lost",
|
|
|
- "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()),
|
|
|
+ "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'),
|
|
|
"X-Mailer: %s" % VERSION,
|
|
|
"",
|
|
|
"You have lost your password.",
|
|
@@ -254,7 +254,7 @@ def admin_user_add():
|
|
|
"From: %s" % EMAIL,
|
|
|
"To: %s" % user['email'],
|
|
|
"Subject: [Cavote] Welcome",
|
|
|
- "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()),
|
|
|
+ "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'),
|
|
|
"X-Mailer: %s" % VERSION,
|
|
|
"",
|
|
|
"Hi %s!" % user['name'],
|