summaryrefslogtreecommitdiff
path: root/gpssim.py
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-07-26 15:41:13 -0700
committerGary E. Miller <gem@rellim.com>2018-07-26 15:41:13 -0700
commit18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a (patch)
treef90e055bea615a4560f119c776e8e4b89b137b5e /gpssim.py
parentaea456f6201f887ae914a26df2497a2da3d6a12d (diff)
downloadgpsd-18e644af9ce08cd3b4f0f4c2f6d36ff40bc25b2a.tar.gz
gpssim.py: pep8 cleanup.
Note the program pep8 is now called pycodestyle
Diffstat (limited to 'gpssim.py')
-rw-r--r--gpssim.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpssim.py b/gpssim.py
index 0969fc76..51319812 100644
--- a/gpssim.py
+++ b/gpssim.py
@@ -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)