Changeset 1814
- Timestamp:
- 23 May 2007, 19:59:32 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r1805 r1814 525 525 pume = jamb_nr_catalog(jamb_reg_no = value) 526 526 if len(pume) < 1: 527 err = 'No student record with registration number %s .' %value527 err = 'No student record with registration number %s in %s.' % (value,jamb_nr_catalog) 528 528 else: 529 529 datastructure['pume'] = pume[0] … … 669 669 if len(res) < 1: 670 670 logger.info('matric_no %s not found' % value) 671 err = 'No student with Matriculation Number %s' % (value)671 err = 'No student in returning import catalog with matriculation number %s' % (value) 672 672 break 673 673 datastructure['student'] = res[0] … … 675 675 res = results(matric_no = value) 676 676 if len(res) < 1: 677 err = 'No results for Matriculation Number %s' % (value)677 err = 'No results for matriculation number %s' % (value) 678 678 continue 679 679 datastructure['results'] = res -
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1813 r1814 93 93 folder = 'returning_import' 94 94 res = context.students_catalog(id = str(member)) 95 filename = res[ 'matric_no'].upper()95 filename = res[0].matric_no.upper() 96 96 msg = context.waeup_tool.loadStudentFoto(student,filename,folder) 97 97 logger.info('%s, %s' % (member,msg))
Note: See TracChangeset for help on using the changeset viewer.