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

Catch AttributeError?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.