245
245
fname = att.filename + new_suffix
252
fname, fsize = add_attachment(request, pagename, fname, att.data)
248
fname = add_attachment(request, pagename, fname, att.data)
255
250
except AttachmentAlreadyExists:
258
255
# build an attachment link table for the page with the e-mail
259
256
attachment_links = [""] + [u'''[[attachment:%s|%s]]''' % ("%s/%s" % (pagename, att), att) for att in attachments]