Ignore:
Timestamp:
22 May 2007, 20:46:45 (17 years ago)
Author:
Henrik Bettermann
Message:

preparations for viewing CEST results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r1804 r1805  
    195195            datastructure.setError(widget_id, "'%s' not a valid session key" % value)
    196196            return 0
    197        
     197
    198198        if len(v) == 1:
    199199            v = value = '0%c' % v
     
    265265            datastructure.setError(widget_id, "'%s' not a valid level key" % value)
    266266            return 0
    267        
    268         if not value: 
     267
     268        if not value:
    269269            v = value = '100'
    270270        #import pdb;pdb.set_trace()
     
    525525            pume = jamb_nr_catalog(jamb_reg_no = value)
    526526            if len(pume) < 1:
    527                 err = 'No student with Registration Number %s' % (value)
     527                err = 'No student record with registration number %s.' %value
    528528            else:
    529529                datastructure['pume'] = pume[0]
     
    998998            if datastructure.errors:
    999999                do = 0
    1000                 datastructure.setError(widget_id, 'errors in other data, PIN neither checked nor used')
     1000                datastructure.setError(widget_id, 'PIN neither checked nor used.')
    10011001                s_logger.info('%s/%s entered wrong data together with PIN %s' % (s_id,ref,pin_str))
    10021002        while do:
Note: See TracChangeset for help on using the changeset viewer.