just to be safe

master
Matthew Wall 8 years ago
parent dc7fed55a9
commit f38473fa75

@ -202,7 +202,7 @@ class NetatmoDriver(weewx.drivers.AbstractDevice):
for n in self.sensor_map: for n in self.sensor_map:
label = self._find_match(self.sensor_map[n], data.keys()) label = self._find_match(self.sensor_map[n], data.keys())
if label: if label:
packet[n] = data[label] packet[n] = data.get(label)
return packet return packet
@staticmethod @staticmethod

Loading…
Cancel
Save