Changeset 12185 for main/waeup.ikoba/trunk/src/waeup
- Timestamp:
- 9 Dec 2014, 16:24:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/utils.py
r12184 r12185 250 250 if img_path is None: 251 251 pass 252 elif img_path[-4:] == '.pdf': 253 f_text = Paragraph('%s (see file attached)' % ( 254 viewlet.title,), ENTRY1_STYLE) 252 255 elif not img_path[-4:] in ('.jpg', '.JPG'): 253 256 # reportlab requires jpg images, I think. 254 f_text = Paragraph('%s (no t displayable)' % (257 f_text = Paragraph('%s (no preview available)' % ( 255 258 viewlet.title,), ENTRY1_STYLE) 256 259 else:
Note: See TracChangeset for help on using the changeset viewer.