diff options
author | Gary E. Miller <gem@rellim.com> | 2018-06-26 20:01:16 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-26 20:01:45 -0700 |
commit | e3397eadbb8c5137eef945c3337364521ae05736 (patch) | |
tree | 48c6189d201b6f9900deb5aaf37a4614308354c9 /gps | |
parent | 7a57d22d227e1deb3ad79f9793e4147e9a19e2f3 (diff) | |
download | gpsd-e3397eadbb8c5137eef945c3337364521ae05736.tar.gz |
gps/client.py: Add back in missing defaults.
The reconnect patch lost host and port.
Diffstat (limited to 'gps')
-rw-r--r-- | gps/client.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gps/client.py b/gps/client.py index af08cd24..70c83a44 100644 --- a/gps/client.py +++ b/gps/client.py @@ -20,6 +20,9 @@ GPSD_PORT = "2947" class gpscommon(object): "Isolate socket handling and buffering from the protocol interpretation." + host = "127.0.0.1" + port = GPSD_PORT + def __init__(self, host="127.0.0.1", port=GPSD_PORT, verbose=0, should_reconnect=False): self.sock = None # in case we blow up in connect |