summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-31 17:32:27 -0400
committerKali Kaneko <kali@leap.se>2014-01-31 17:32:47 -0400
commitc62c5497351a0ae89be49f9b829d89043476802b (patch)
tree3d9a767a1a7b47891b766354da5e3ec67ad105b5 /mail
parent749f237873860946506917534a1c609ffa0bc404 (diff)
remove wrong unicode conversion
Diffstat (limited to 'mail')
-rw-r--r--mail/src/leap/mail/imap/messages.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/src/leap/mail/imap/messages.py b/mail/src/leap/mail/imap/messages.py
index 03dde290..6ff39671 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):
"""