- Timestamp:
- 30 Apr 2014, 12:01:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r11608 r11610 829 829 upload.seek(0) # file pointer moved when determining size 830 830 dummy,ext = os.path.splitext(upload.filename) 831 # fp files are expected to be fingerprint scans, file831 # fp files are expected to be fingerprint minutiae, file 832 832 # format is not yet checked 833 if ext == '.fp ':833 if ext == '.fpm': 834 834 file_format = 'fp' 835 835 else: … … 1016 1016 if ext == '.jpg': 1017 1017 self.response.setHeader('Content-Type', 'image/jpeg') 1018 elif ext == '.fp ':1018 elif ext == '.fpm': 1019 1019 self.response.setHeader('Content-Type', 'application/binary') 1020 1020 elif ext == '.png':
Note: See TracChangeset for help on using the changeset viewer.