summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index 2257ee8c..040467a6 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -576,7 +576,7 @@ def parse_mailto(mailto_str):
for s in parms_str.split('&'):
key, value = s.partition('=')[::2]
key = key.capitalize()
- if key is 'body':
+ if key == 'Body':
body = urllib.unquote(value)
elif value:
headers[key] = [urllib.unquote(value)]