From b0d8a0f0c7709d67a8e18e07f0e79b811fc453ec Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 23 Jun 2013 08:45:56 -0500 Subject: [PATCH] fixed Issue 1553:IMAP row content field is not bar decoded, thanks Alan --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 7dd06f10..c94e6ae9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.5.1-stable+timestamp.2013.06.23.00.22.51 +Version 2.5.1-stable+timestamp.2013.06.23.08.45.09 diff --git a/gluon/dal.py b/gluon/dal.py index aa8cbcb4..122807ee 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6406,7 +6406,7 @@ class IMAPAdapter(NoSQLAdapter): if "%s.size" % tablename in colnames: if part is not None: size += len(str(part)) - item_dict["%s.content" % tablename] = bar_encode(content) + item_dict["%s.content" % tablename] = content item_dict["%s.attachments" % tablename] = attachments item_dict["%s.size" % tablename] = size imapqry_list.append(item_dict)