From 5e8ffa7c68bc4162250d5fa28beba6a576b29568 Mon Sep 17 00:00:00 2001 From: javiplx Date: Mon, 9 May 2011 08:46:02 +0000 Subject: [PATCH] BUGFIX : spelling error git-svn-id: file:///svnroot/wifihood/trunk@151 c51dfc6a-5949-4919-9c8e-f207a149c383 --- wifiscanner/wifimap/gps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifiscanner/wifimap/gps.py b/wifiscanner/wifimap/gps.py index aaaf4fe..5fe2b76 100644 --- a/wifiscanner/wifimap/gps.py +++ b/wifiscanner/wifimap/gps.py @@ -70,9 +70,9 @@ class GPSObject ( gobject.GObject ) : lat , lon , alt = None , None , None if self.device.fix[1] & location.GPS_DEVICE_LATLONG_SET: - lat , lon = device.fix[4:6] + lat , lon = self.device.fix[4:6] if self.device.fix[1] & location.GPS_DEVICE_ALTITUDE_SET: - alt = device.fix[7] + alt = self.device.fix[7] # FIXME : get time from GPS fix self.info = state , self.device.satellites_in_view , self.device.satellites_in_use , self.device.fix[2] , lat , lon , alt self.satellites = self.device.satellites -- 1.7.9.5