Changeset 2355 for WAeUP_SRP/base
- Timestamp:
- 12 Oct 2007, 15:57:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2354 r2355 1438 1438 elif datastructure.has_key('record'): 1439 1439 applicant = datastructure['record'] 1440 1441 if applicant.screening_type != screening_type_requestand screening_type_request != 'manage':1440 if applicant.screening_type != screening_type_request\ 1441 and screening_type_request != 'manage': 1442 1442 err = "You used the wrong application form!" 1443 1443 s_logger.info('%s tried to use %s application form but has applied for %s' % (ref, 1444 screening_type_request,1445 1444 applicant.screening_type)) 1446 1445 break … … 2030 2029 full_path = os.path.join(student_path, filename) 2031 2030 pict = open(full_path,"w") 2032 fileupload.seek(0) 2033 pict.write(fileupload.read()) 2031 #fileupload.seek(0) 2032 #import pdb; pdb.set_trace() 2033 pict.write(str(file.data)) 2034 2034 pict.close() 2035 2035 return True
Note: See TracChangeset for help on using the changeset viewer.