Ignore:
Timestamp:
15 Mar 2007, 16:44:41 (18 years ago)
Author:
joachim
Message:

merged trunk up to 1557

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/Widgets.py

    r1449 r1558  
    719719            err ='You are not a Student. PIN neither checked nor used.'
    720720            s_logger.info('"%s","tried to use Scratchcard", "%s"' % (s_id,pin_str))
     721        elif len(b) > 1 and b.find('-') > -1:
     722            do = 0
     723            err = 'PIN must not contain the "-"'
     724            s_logger.info('"%s","Invalid PIN-Number, contains -"' % (s_id))
     725        elif n.find('-') > -1:
     726            do = 0
     727            err = 'PIN must not contain the "-"'
     728            s_logger.info('"%s","Invalid PIN-Number, contains -"' % (s_id))
    721729        elif len(n) != 10:
    722730            do = 0
Note: See TracChangeset for help on using the changeset viewer.