diff options
author | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:41:13 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-26 15:41:13 -0700 |
commit | 18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a (patch) | |
tree | f90e055bea615a4560f119c776e8e4b89b137b5e /gpssim.py | |
parent | aea456f6201f887ae914a26df2497a2da3d6a12d (diff) | |
download | gpsd-18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a.tar.gz |
gpssim.py: pep8 cleanup.
Note the program pep8 is now called pycodestyle
Diffstat (limited to 'gpssim.py')
-rw-r--r-- | gpssim.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -191,6 +191,7 @@ class gpssim(object): # devices, but the point of the architecture is so that we could simulate # others - SirF, Evermore, whatever. + MPS_TO_KNOTS = 1.9438445 # Meters per second to knots @@ -305,6 +306,7 @@ class NMEA(object): # The very simple main line. + if __name__ == "__main__": try: gpssim(NMEA).filter(sys.stdin, sys.stdout) |