Project

General

Profile

« Previous | Next » 

Revision 4dbce832

Added by Benjamin Dauvergne over 12 years ago

scripts: event label for timetable can be lowercased

View differences:

scripts/import_horaires.py
192 192
        cols = csvlines.next()
193 193
        i = 0
194 194
        for line in csvlines:
195
            if line[8] == 'ARRIVEE' or line[8] == 'DEPART':
195
            if line[8].upper() == 'ARRIVEE' or line[8].upper() == 'DEPART':
196 196
                data = _get_dict(cols, line)
197 197
                tables_data[service.name].append(data)
198 198
                i += 1

Also available in: Unified diff