[mail] format_mail copy/paste fix: we want to test sender-name, not sender-addr
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 13 Nov 2013 15:58:42 +0100
changeset 9362 2f0129d17fa9
parent 9361 0542a85fe667
child 9363 d773589b6d46
[mail] format_mail copy/paste fix: we want to test sender-name, not sender-addr
mail.py
--- a/mail.py	Thu Nov 14 17:17:02 2013 +0100
+++ b/mail.py	Wed Nov 13 15:58:42 2013 +0100
@@ -90,7 +90,7 @@
         email = u''
     if uinfo.get('name'):
         name = uinfo['name']
-    elif config and config['sender-addr']:
+    elif config and config['sender-name']:
         name = unicode(config['sender-name'])
     else:
         name = u''