Ignore:
Timestamp:
30 Oct 2022, 18:23:36 (2 years ago)
Author:
Henrik Bettermann
Message:

Update polling units.
Catch error if css files contain forbidden characters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/interfaces.py

    r17144 r17150  
    4646        open(os.path.dirname(__file__)  + '/%s'%filename, 'rb'))
    4747    result = dict()
    48     for row in rows:
    49         result['_'.join(row[0:depth])] = row[depth]
     48    try:
     49        i = 1
     50        for row in rows:
     51            result['_'.join(row[0:depth])] = row[depth]
     52            i += 1
     53    except:
     54        print 'WARNING: check %s line %d' % (filename, i)
     55        import pdb; pdb.set_trace()
    5056    return result
    5157
Note: See TracChangeset for help on using the changeset viewer.