Changeset 6534 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 23 Jul 2011, 02:37:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/image/browser/views.py
r5926 r6534 47 47 if content_type is not None: 48 48 self.response.setHeader('Content-Type', content_type) 49 return self.context.data 49 fd = self.context.file 50 contents = fd.read() 51 fd.close() 52 return contents
Note: See TracChangeset for help on using the changeset viewer.