Skip to content

Commit

Permalink
EnvironmentData redefined fix
Browse files Browse the repository at this point in the history
EnvironmentData was being redefined per issues/108
fixed for self.AircraftEnvironmentData and self.EnvironmentData
  • Loading branch information
odwdinc committed Feb 13, 2022
1 parent 7fe6be8 commit 50cde9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimConnect/RequestList.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __init__(self, _sm, _time=10, _attemps=10):
self.list.append(self.AutopilotData)
self.LandingGearData = self.__AircraftLandingGearData(_sm, _time, _attemps)
self.list.append(self.LandingGearData)
self.EnvironmentData = self.__AircraftEnvironmentData(_sm, _time, _attemps)
self.AircraftEnvironmentData = self.__AircraftEnvironmentData(_sm, _time, _attemps)
self.list.append(self.EnvironmentData)
self.HelicopterSpecificData = self.__HelicopterSpecificData(_sm, _time, _attemps)
self.list.append(self.HelicopterSpecificData)
Expand Down

1 comment on commit 50cde9f

@stevenjoezhang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should self.EnvironmentData in line 214 be replaced by self.AircraftEnvironmentData?

Please sign in to comment.