Ignore:
Timestamp:
8 Jul 2012, 08:59:42 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix conversion checker for payments.

File:
1 edited

Legend:

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

    r8940 r8942  
    583583    grok.name(util_name)
    584584
    585     name = u'Payment Processor'
     585    name = u'Student Payment Processor'
    586586    iface = IStudentOnlinePayment
    587587    factory_name = 'waeup.StudentOnlinePayment'
     
    664664        # We have to check p_id.
    665665        p_id = row.get('p_id', None)
    666         if p_id is None:
     666        if not p_id:
    667667            timestamp = ("%d" % int(time()*10000))[1:]
    668668            p_id = "p%s" % timestamp
Note: See TracChangeset for help on using the changeset viewer.