Changeset 11610


Ignore:
Timestamp:
30 Apr 2014, 12:01:11 (11 years ago)
Author:
Henrik Bettermann
Message:

'fpm' is better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r11608 r11610  
    829829    upload.seek(0) # file pointer moved when determining size
    830830    dummy,ext = os.path.splitext(upload.filename)
    831     # fp files are expected to be fingerprint scans, file
     831    # fp files are expected to be fingerprint minutiae, file
    832832    # format is not yet checked
    833     if ext == '.fp':
     833    if ext == '.fpm':
    834834        file_format = 'fp'
    835835    else:
     
    10161016        if ext == '.jpg':
    10171017            self.response.setHeader('Content-Type', 'image/jpeg')
    1018         elif ext == '.fp':
     1018        elif ext == '.fpm':
    10191019            self.response.setHeader('Content-Type', 'application/binary')
    10201020        elif ext == '.png':
Note: See TracChangeset for help on using the changeset viewer.