summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgpsfake4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsfake b/gpsfake
index 932a7ffb..8382d988 100755
--- a/gpsfake
+++ b/gpsfake
@@ -121,7 +121,7 @@ if __name__ == '__main__':
port = None
progress = False
- cycle = 0
+ cycle = 0.0
monitor = ""
speed = 4800
linedump = False
@@ -207,7 +207,7 @@ if __name__ == '__main__':
# Don't allocate a private port when cycling logs for client testing.
if port is None and not pipe:
- port = gps.GPSD_PORT
+ port = int(gps.GPSD_PORT)
test = gpsfake.TestSession(prefix=monitor, port=port, options=doptions,
tcp=tcp, udp=udp, verbose=verbose,