From f38473fa757f96c48482780d3ff011cb51c4044f Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Mon, 31 Oct 2016 23:37:16 -0400 Subject: [PATCH] just to be safe --- bin/user/netatmo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/user/netatmo.py b/bin/user/netatmo.py index c11e357..fe7b3d9 100644 --- a/bin/user/netatmo.py +++ b/bin/user/netatmo.py @@ -202,7 +202,7 @@ class NetatmoDriver(weewx.drivers.AbstractDevice): for n in self.sensor_map: label = self._find_match(self.sensor_map[n], data.keys()) if label: - packet[n] = data[label] + packet[n] = data.get(label) return packet @staticmethod