From c62c5497351a0ae89be49f9b829d89043476802b Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 31 Jan 2014 17:32:27 -0400 Subject: remove wrong unicode conversion --- mail/src/leap/mail/imap/messages.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mail/src/leap') diff --git a/mail/src/leap/mail/imap/messages.py b/mail/src/leap/mail/imap/messages.py index 03dde29..6ff3967 100644 --- a/mail/src/leap/mail/imap/messages.py +++ b/mail/src/leap/mail/imap/messages.py @@ -337,11 +337,10 @@ class LeapMessage(fields, MailParser, MBoxParser): :type stuff: basestring :returns: charset """ - # TODO get from subpart headers - # XXX existential doubt 2. shouldn't we make the scope + # XXX shouldn't we make the scope # of the decorator somewhat more persistent? # ah! yes! and put memory bounds. - return get_email_charset(unicode(stuff)) + return get_email_charset(stuff) def getSize(self): """ -- cgit v1.2.3