Ignore:
Timestamp:
24 Jul 2017, 13:28:52 (7 years ago)
Author:
Henrik Bettermann
Message:

Fix CertificateProcessor.checkHeaders. The processor requires both faculty_code and department_code in create mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py

    r13607 r14724  
    258258        if mode == 'create':
    259259            if not 'faculty_code' in headerfields \
    260                 and not 'department_code' in headerfields :
     260                or not 'department_code' in headerfields :
    261261                raise FatalCSVError(
    262262                    "Need at least columns faculty_code and department_code")
Note: See TracChangeset for help on using the changeset viewer.