- Timestamp:
- 30 Apr 2014, 14:36:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r11610 r11612 56 56 grok.templatedir('browser_templates') 57 57 58 ALLOWED_FILE_EXTENSIONS = ('jpg', 'png', 'pdf', 'tif', 'fp ')58 ALLOWED_FILE_EXTENSIONS = ('jpg', 'png', 'pdf', 'tif', 'fpm') 59 59 60 60 class StudentManageSidebar(grok.ViewletManager): … … 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 minutiae, file831 # fpm files are expected to be fingerprint minutiae, file 832 832 # format is not yet checked 833 833 if ext == '.fpm': 834 file_format = 'fp '834 file_format = 'fpm' 835 835 else: 836 836 file_format = get_fileformat(None, upload.read(512))
Note: See TracChangeset for help on using the changeset viewer.