Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: SORRY! Bug in the code... #2 + message warning customize' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: SORRY! Bug in the code... #2 + message warning customize
Authored by: shadownight on Apr 07, '06 01:35:43PM
Sorry, but the correction you posted is the same as the other one. The correct one I discovered is:
ATTACH_EXP_STR = r'\b(?:attachment|attachments|attach|attaching|attaches|attached|pi=E8ce jointe|pi=E8ces jointes|inclus|incluse)\b'
(the difference is the two backward slashes before the Bs) Thanks a lot for making me put this in my own language!! Note: as you can see above, pièce jointe is pi=E8ce jointe Note2: you can also customize the dialog box message as you want by scrolling down (about half-way) and changing this:
alert.setMessageText_('Message Has No Attachment')
        alert.setInformativeText_("Your mail appears to refer to an attachment, "
                                  "but none exists.  Do you wish to continue?")


[ Reply to This | # ]