Mercurial > moin > 1.9
changeset 4070:65bf5767d8ad
mailimport: fix attachment filename processing
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 07 Sep 2008 14:45:23 +0200 |
parents | b1a690282f20 |
children | e2107f4b6217 |
files | MoinMoin/mail/mailimport.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/mail/mailimport.py Sun Sep 07 14:16:43 2008 +0200 +++ b/MoinMoin/mail/mailimport.py Sun Sep 07 14:45:23 2008 +0200 @@ -245,7 +245,7 @@ fname = att.filename + new_suffix try: # get the fname again, it might have changed - fname = add_attachment(request, pagename, fname, att.data) + fname, fsize = add_attachment(request, pagename, fname, att.data) attachments.append(fname) except AttachmentAlreadyExists: i += 1