diff --git a/VERSION b/VERSION index f2cb0069..d61072d9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.4-stable+timestamp.2013.11.14.13.28.53 +Version 2.7.4-stable+timestamp.2013.11.16.03.15.58 diff --git a/gluon/dal.py b/gluon/dal.py index 6005634b..48970c36 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -5592,6 +5592,8 @@ class MongoDBAdapter(NoSQLAdapter): # string or integer return datetime.datetime.combine(d, value) elif fieldtype == "blob": + if value== None: + return value from bson import Binary if not isinstance(value, Binary): if not isinstance(value, basestring):