We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253eb45 commit c7143e0Copy full SHA for c7143e0
dronekit/__init__.py
@@ -1715,6 +1715,8 @@ def wind(self):
1715
"""
1716
Current wind status (:pu:class: `Wind`)
1717
1718
+ if self._wind_direction is None or self._wind_speed is None or self._wind_speed_z is None:
1719
+ return None
1720
return Wind(self._wind_direction, self._wind_speed, self._wind_speed_z)
1721
1722
@property
0 commit comments