summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
Diffstat (limited to 'gps')
-rwxr-xr-xgps/gps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/gps.py b/gps/gps.py
index cca3f5e1..63776e6b 100755
--- a/gps/gps.py
+++ b/gps/gps.py
@@ -112,7 +112,7 @@ class gpscommon:
sys.stderr.write("poll: data is %s\n" % repr(self.response))
self.received = time.time()
# We got a \n-terminated line
- return len(self.linebuffer)
+ return len(self.response)
def send(self, commands):
"Ship commands to the daemon."