Ignore:
Timestamp:
13 Nov 2023, 16:26:54 (12 months ago)
Author:
Henrik Bettermann
Message:

Catch AttributeError?.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterexportpage.pt

    r14452 r17641  
    4141  Student data exports have to be further configured. You can either refine
    4242  the results by <a href="@@exportconfig">selecting certain export parameters</a>
    43   or by <a href="@@exportselected">entering a set of student ids
    44   or matric numbers</a>.
     43  or by <a href="@@exportselected">entering a set of student ids, matric numbers
     44  or payment ids</a>.
    4545</p>
    4646
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r17640 r17641  
    309309                if results:
    310310                    # Check if payer is a student
    311                     student = getattr(results[0], 'student')
     311                    student = getattr(results[0], 'student', None)
    312312            if student is not None:
    313313                students.append(student)
Note: See TracChangeset for help on using the changeset viewer.