Changeset 2611 for WAeUP_SRP


Ignore:
Timestamp:
9 Nov 2007, 21:16:43 (17 years ago)
Author:
Henrik Bettermann
Message:

interprete results as carry-overs if score is missing but the grade exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/create_level.py

    r2539 r2611  
    4646if aq_results(Eq('student_id',student_id) & Eq('level_id',current_level)):
    4747    logger.info('%s tried to create already existing level %s' % (student.id,current_level))
    48     return 
     48    return
    4949
    5050logger.info('%s started to create level %s' % (student.id,current_level))
     
    7979        course_cat_entry = c_res[0]
    8080        passmark = getattr(course_cat_entry,'passmark',None)
    81         if not passmark:
     81        if not passmark or not co.Score:
    8282            carry_over = co.GRADE in ('D','E','F')
    8383        else:
Note: See TracChangeset for help on using the changeset viewer.