Index: /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py
===================================================================
--- /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py	(revision 15514)
+++ /main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py	(revision 15515)
@@ -66,5 +66,5 @@
         if name in ('course1', 'course2') and context is not None:
             applicant = context.__parent__
-            value = getattr(applicant, name.code, None)
+            value = getattr(getattr(applicant, name, None), code, None)
         return super(
             CustomApplicantPaymentExporter, self).mangle_value(
