summaryrefslogtreecommitdiff
path: root/gps/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'gps/client.py')
-rw-r--r--gps/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/client.py b/gps/client.py
index 1ef2d02c..43a8be47 100644
--- a/gps/client.py
+++ b/gps/client.py
@@ -143,7 +143,7 @@ class gpsjson(gpscommon):
# Should be done for any other array-valued subobjects, too.
# This particular logic can fire on SKY or RTCM2 objects.
if hasattr(self.data, "satellites"):
- self.data.satellites = map(lambda x: dictwrapper(x), self.data.satellites)
+ self.data.satellites = map(dictwrapper, self.data.satellites)
def stream(self, flags=0, devpath=None):
"Control streaming reports from the daemon,"