From c0b1e387b1914cd3abfac3095caf53f2198f148d Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 6 Apr 2013 10:10:37 -0500 Subject: [PATCH] fixed Issue 1409:Mail.send defaults for subject, message appear to be wrong --- VERSION | 2 +- gluon/tools.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 5ebd7c75..a84ad33d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.5-stable+timestamp.2013.04.06.10.05.46 +Version 2.4.5-stable+timestamp.2013.04.06.10.09.56 diff --git a/gluon/tools.py b/gluon/tools.py index 6b981090..cdb61b53 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -266,8 +266,8 @@ class Mail(object): def send( self, to, - subject='None', - message='None', + subject = '[no subject]', + message = '[no message]', attachments=None, cc=None, bcc=None,