Ignore:
Timestamp:
25 Aug 2010, 16:10:37 (14 years ago)
Author:
Henrik Bettermann
Message:

create_level.py: reduce logging
logged_in.py: find pictures with PIN as filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/cps_custom/logged_in.py

    r5022 r5496  
    148148            msg = context.waeup_tool.loadStudentFoto(student,filename,folder)
    149149            logger.info('%s (%s), %s' % (member,s_review_state,msg))
    150 
     150            if 'passport picture not found' in msg:
     151                filename = app_doc.app_ac_pin.replace('-','')
     152                msg = context.waeup_tool.loadStudentFoto(student,filename,folder)
     153                logger.info('%s (%s), %s' % (member,s_review_state,msg))
    151154
    152155        #########################################################
Note: See TracChangeset for help on using the changeset viewer.