Ignore:
Timestamp:
27 Sep 2007, 16:52:41 (17 years ago)
Author:
joachim
Message:

add import for courses, certificates, certificate_courses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_default/get_csv_names.py

    r1756 r2282  
    77files = context.waeup_tool.get_csv_filenames()
    88if key is None:
    9     return [(f[:-4],f) for f in files]
     9    l = [(f[:-4],f) for f in files]
     10    l.sort(cmp=lambda x,y: cmp(x[0].lower(), y[0].lower()))
     11    return l
    1012
    1113return files[files.index("%s.csv" % key)]
Note: See TracChangeset for help on using the changeset viewer.