|
@@ -8,7 +8,7 @@ class AircraftPerformance:
|
|
def __init__(self, filepath : str):
|
|
def __init__(self, filepath : str):
|
|
config = configparser.ConfigParser()
|
|
config = configparser.ConfigParser()
|
|
config.read(filepath)
|
|
config.read(filepath)
|
|
- self.aircrafts = { }
|
|
|
|
|
|
+ self.Aircrafts = { }
|
|
|
|
|
|
# iterate over all entries
|
|
# iterate over all entries
|
|
for key in config:
|
|
for key in config:
|
|
@@ -25,4 +25,4 @@ class AircraftPerformance:
|
|
aircraft.rodBelowFL100 = config[key]['rodbelowfl100']
|
|
aircraft.rodBelowFL100 = config[key]['rodbelowfl100']
|
|
aircraft.speedApproach = config[key]['speedapproach']
|
|
aircraft.speedApproach = config[key]['speedapproach']
|
|
|
|
|
|
- self.aircrafts[aircraft.icao] = aircraft
|
|
|
|
|
|
+ self.Aircrafts[aircraft.icao] = aircraft
|