diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gpsData.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |