diff options
| author | bwarsaw | 2002-03-15 15:53:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-15 15:53:06 +0000 |
| commit | 1158dadadb40bc2d541b00e96fe03391ec8f212c (patch) | |
| tree | 5af1dcc6578c1a772efbe576eb2234a639d4f656 | |
| parent | 779fbb4131a06dac697fb6335d7cc863d144c842 (diff) | |
| download | mailman-1158dadadb40bc2d541b00e96fe03391ec8f212c.tar.gz mailman-1158dadadb40bc2d541b00e96fe03391ec8f212c.tar.zst mailman-1158dadadb40bc2d541b00e96fe03391ec8f212c.zip | |
| -rw-r--r-- | Mailman/Handlers/ToDigest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index 095d89bce..258c383e6 100644 --- a/Mailman/Handlers/ToDigest.py +++ b/Mailman/Handlers/ToDigest.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc. +# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -208,7 +208,7 @@ def send_i18n_digests(mlist, mboxfp): subject, re.IGNORECASE) if mo: subject = subject[:mo.start(2)] + subject[mo.end(2):] - addresses = getaddresses([msg['From']]) + addresses = getaddresses([msg.get('From', '')]) username = '' # Take only the first author we find if type(addresses) is ListType and len(addresses) > 0: |
