Skip to content

ValueError from xcontest igc file #4

@luigichelli

Description

@luigichelli

Hello there, I'm having the following error... any idea? thanks!

Traceback (most recent call last):
File "igc2csv.py", line 253, in
flight = parse_igc(flight)
File "igc2csv.py", line 16, in parse_igc
recordtypes[linetype](line, flight)
File "igc2csv.py", line 101, in logline_H
headertypes[line[1:5]](line[5:], flight)
File "igc2csv.py", line 110, in logline_H_FDTE
flight['flightdate'] = datetime.date(int(line[4:6])+2000, int(line[2:4]), int(line[0:2]))
ValueError: invalid literal for int() with base 10: ':0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions