Changeset 978 for WAeUP_SRP


Ignore:
Timestamp:
1 Dec 2006, 16:43:31 (18 years ago)
Author:
joachim
Message:

fix pin import bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/ScratchCards.py

    r948 r978  
    6161                    n += 1
    6262                    continue
    63                 p_pins.addRecord(pin=pin['Pin'],serial=n,student="",prefix_batch="%s%s" % (prefix, batch_no))
     63                puid = "".join(pin['Pin'].split('-'))
     64                p_pins.addRecord(pin=puid,serial=n,student="",prefix_batch="%s%s" % (prefix, batch_no))
    6465                n += 1
    6566            dict['no_of_pins'] = n - 1
Note: See TracChangeset for help on using the changeset viewer.