Changeset 2991
- Timestamp:
- 8 Jan 2008, 10:09:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/clearance_edit.py
r2990 r2991 53 53 'acc_let' 54 54 ) 55 56 if context.portal_url().find('fceokene') > -1: 57 required_scans = () 58 55 no_scans_required = context.portal_url().find('fceokene') > -1 56 59 57 form = request.form 60 58 psm = "" … … 124 122 if acknowledge and info['review_state'] == "clearance_pin_entered": 125 123 files = context.waeup_tool.picturesList() 126 req_found = [scan for scan in required_scans if scan in files] 127 birth_found = "age_dec" in files or "birth_certificate" in files 124 req_found = [scan for scan in required_scans if scan in files] or no_scans_required 125 birth_found = "age_dec" in files or "birth_certificate" in files or no_scans_required 128 126 if not req_found or not birth_found: 129 127 logger.info('%s requested clearance with documents missing' % (student_id))
Note: See TracChangeset for help on using the changeset viewer.