Changeset 1747 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
7 May 2007, 20:56:24 (18 years ago)
Author:
joachim
Message:

new function in WAeUPTool importData
usage from url:
.../uniben/waeup_tool/importData?filename=PreviousTest?&name=student

Location:
WAeUP_SRP/trunk/skins
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/sessions_voc.py

    r1736 r1747  
    66"""
    77if key is None:
    8     l = [('unknown','unknown')]
     8    l = [('xx','unknown')]
    99    for y in range(1998,2008):
    1010        l.append( ('%s' % str(y)[-2:],'%4d/%4d' % (y,y+1)))
     
    1212
    1313if len(key) != 2:
    14     return "invalid Session %s" % key
     14    return 'unknown'
    1515try:
    1616    y = int(key)
    1717except:
    18     return "invalid Session %s" % key
     18    return 'unknown'
    1919if y < 90:
    2020    cent = 2000
Note: See TracChangeset for help on using the changeset viewer.