Changeset 9016 for main/waeup.kofa/trunk
- Timestamp:
- 18 Jul 2012, 09:49:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9015 r9016 223 223 if img_path is None: 224 224 pass 225 elif not img_path .endswith('.jpg'):225 elif not img_path[-4:] in ('.jpg', '.JPG'): 226 226 # reportlab requires jpg images, I think. 227 f_text = Paragraph('%s ( Not displayable)' % (227 f_text = Paragraph('%s (not displayable)' % ( 228 228 viewlet.title,), ENTRY1_STYLE) 229 229 else:
Note: See TracChangeset for help on using the changeset viewer.