- Timestamp:
- 13 Nov 2011, 10:22:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py
r7102 r7103 288 288 grok.baseclass() 289 289 attr = None 290 ext = u'.jpg' 290 291 291 292 def render(self): … … 293 294 # for file storage. 294 295 image = getUtility(IExtFileStore).getFileByContext( 295 self.context, attr=self.attr )296 self.context, attr=self.attr, ext=self.ext) 296 297 self.response.setHeader( 297 298 'Content-Type', 'image/jpeg') … … 306 307 grok.name('birth_certificate.jpg') 307 308 attr = u'birth_certificate' 309 ext = u'.jpg'
Note: See TracChangeset for help on using the changeset viewer.