summaryrefslogtreecommitdiff
path: root/gps/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'gps/client.py')
-rw-r--r--gps/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gps/client.py b/gps/client.py
index f38e9a1b..45dd3ab7 100644
--- a/gps/client.py
+++ b/gps/client.py
@@ -109,6 +109,10 @@ class gpscommon:
# We got a \n-terminated line
return len(self.response)
+ def data(self):
+ "Return the client data buffer."
+ return self.response
+
def send(self, commands):
"Ship commands to the daemon."
if not commands.endswith("\n"):