Changeset 715


Ignore:
Timestamp:
17 Oct 2006, 14:47:08 (18 years ago)
Author:
joachim
Message:

fixed not-imported format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Academics.py

    r691 r715  
    2424i_home = Globals.INSTANCE_HOME
    2525
    26 def makeCertificateCode(code):
     26def makeCertificateCode(code): ###(
    2727    code = code.replace('.','')
    2828    code = code.replace('(','')
     
    3232    code = code.replace('_','')
    3333    return code
     34
     35###)
    3436
    3537class AcademicsFolder(CPSDocument): ###(
     
    345347                  "core_or_elective",
    346348                  )
    347         format = ' '.join(['%%(%s)s ' % fn for fn in fields])
     349        format = ', '.join(['"%%(%s)s"' % fn for fn in fields])
    348350        try:
    349351            cert_courses = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb"))
Note: See TracChangeset for help on using the changeset viewer.