summaryrefslogtreecommitdiff
path: root/src/leap/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
commitd9b37a7a1115b76ebc72413cf1ffe9a613b58d52 (patch)
tree72c565bb04c0f5fee9cae3ced0937fc26acffba1 /src/leap/mail
parent0f6a8e1c83995cffec51e81f626d4bb29d4f7345 (diff)
remove wrong unicode conversion
Diffstat (limited to 'src/leap/mail')
-rw-r--r--src/leap/mail/imap/messages.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/mail/imap/messages.py b/src/leap/mail/imap/messages.py
index 03dde29..6ff3967 100644
--- a/src/leap/mail/imap/messages.py
+++ b/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):
"""