Browse Source

Seed flight date.

debian-sid
Tom Payne 14 years ago
parent
commit
616c09a272
  1. 2
      bin/leonardo2kmz.py

2
bin/leonardo2kmz.py

@ -134,7 +134,7 @@ def main(argv):
flight_row.DATE.year,
flight_row.filename + options.igc_suffix)
igc_path = os.path.join(*map(str, igc_path_components))
track = IGC(open(igc_path)).track()
track = IGC(open(igc_path), date=flight_row.DATE).track()
flight = Flight(track)
flight.glider_type = flight_row.glider
flight.url = urljoin(options.url, SHOW_FLIGHT_URL % flight_row)

Loading…
Cancel
Save