Package: alot
Version: 0.3.6-1
Severity: wishlist
Tags: patch

Hi,

using `alot compose` one can use alot as a handler for mailto: links in
a web browser. The only thing that stops one from doing so is a small
bug in alot/helper.py. This is the fix:

--- 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)]


It was applied upstream in this commit:

https://github.com/pazz/alot/commit/dc236be51a1e136b7ddd01e2e02f7a7a29e9a9dc

Please consider adding this patch to the Debian package until the next
upstream version is released.

Thanks!

cheers, josch


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to