summaryrefslogtreecommitdiff
path: root/tomorrowtheground.py
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-05-05 12:22:57 +0100
committerTim Redfern <tim@eclectronics.org>2012-05-05 12:22:57 +0100
commitd0096f9d675c4deb04981d91fe3645c4ea6dde05 (patch)
treea8040d6b0c2d385fe57ee5d89ca0f18f3d93f78d /tomorrowtheground.py
parent421cdd72c6395719b56191c187d9f2ba31664670 (diff)
fixed serial bug
Diffstat (limited to 'tomorrowtheground.py')
-rwxr-xr-xtomorrowtheground.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tomorrowtheground.py b/tomorrowtheground.py
index 8ab6383..857ff8e 100755
--- a/tomorrowtheground.py
+++ b/tomorrowtheground.py
@@ -52,9 +52,8 @@ import gpspoller
gpsp=""
try:
- if len(sys.argv)>1:
- gpsp = GpsPoller(doc.gpsdevice)
- gpsp.start()
+ gpsp = GpsPoller(doc.gpsdevice)
+ gpsp.start()
except:
print "gps device not found"