diff options
-rwxr-xr-x | gpsfake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |