Changeset 838:caac643bc702


Ignore:
Timestamp:
04/17/17 07:05:16 (8 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the processing of the delay codes when reading a PIREP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/pirep.py

    r834 r838  
    202202        self.delayCodes = pirepData["timeComment"]
    203203        if self.delayCodes=="UTC":
    204             self.delayCodes = ""
     204            self.delayCodes = []
     205        else:
     206            self.delayCodes = self.delayCodes.split(", ")
    205207
    206208        flightDate = pirepData["flightDate"] + " "
Note: See TracChangeset for help on using the changeset viewer.