From 263bf6dd3b71d089034bcb291b062639f0528b5a Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 26 Jul 2018 15:36:55 -0700 Subject: gpsData.py: pep8 cleanup. Note, the pep8 program now called pycodestyle. --- contrib/gpsData.py | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib') diff --git a/contrib/gpsData.py b/contrib/gpsData.py index cb52c7aa..663719ef 100755 --- a/contrib/gpsData.py +++ b/contrib/gpsData.py @@ -33,6 +33,7 @@ class GpsPoller(threading.Thread): # gpsd info to clear the buffer next(gpsd) + if __name__ == '__main__': gpsp = GpsPoller() # create the thread try: -- cgit v1.2.1