Changeset 242
- Timestamp:
- 01/16/09 14:48:48 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r241 r242 23 23 * More versatile support for Mac attachments. closes #106 24 24 Author: ben at fetchsoftworks dot com 25 26 * Applied an patch that solve problems with Window attachments, closes #110,#93 27 Author: martin.poeschmann add eiskonzept dot com 28 Applied by: Bas van der Vlies 25 29 26 30 2008-10-13 -
trunk/email2trac.py.in
r241 r242 1120 1120 filename = 'untitled-part' 1121 1121 1122 # Guess the extension from the content type 1123 ext = mimetypes.guess_extension(part.get_content_type()) 1122 # Guess the extension from the content type, use non strict mode 1123 # some additional non-standard but commonly used MIME types 1124 # are also recognized 1125 # 1126 ext = mimetypes.guess_extension(part.get_content_type(), False) 1124 1127 if not ext: 1125 1128 ext = '.bin' … … 1308 1311 # Insert the attachment 1309 1312 # 1310 fd = open(path )1313 fd = open(path, 'rb') 1311 1314 att = attachment.Attachment(self.env, 'ticket', ticket['id']) 1312 1315
Note: See TracChangeset
for help on using the changeset viewer.