Browse Source

initialize the values with None

Sven Czarnian 3 years ago
parent
commit
46e04fca23
1 changed files with 3 additions and 0 deletions
  1. 3 0
      aman/sys/WeatherModel.py

+ 3 - 0
aman/sys/WeatherModel.py

@@ -9,6 +9,9 @@ class WeatherModel:
     def __init__(self, gaforId, weather : Weather):
         self.Gafor = gaforId
         self.Weather = weather
+        self.Altitudes = None
+        self.Directions = None
+        self.Windspeeds = None
         self.WindDirectionModel = None
         self.WindSpeedModel = None
         self.LastWeatherUpdate = None