summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-12-26 21:25:28 -0800
committerFred Wright <fw@fwright.net>2016-12-26 21:25:28 -0800
commit8e5c9cc61e0ce80abd273d408a0d5174cae8fbc3 (patch)
tree188a3c6338467322053f212a4a20eefdeb71c158 /gpsprof
parent328cf5039c058b4d26fb5b2e15ea982b889653f6 (diff)
downloadgpsd-8e5c9cc61e0ce80abd273d408a0d5174cae8fbc3.tar.gz
Fixes whitespace error in gpsprof.
In general, tabs are a bad idea in Python, and Python is getting pickier about mixing tabs and spaces. This instance caused Python 3.6 to barf. TESTED: Now works with Python 3.6.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index 7638e0ff..73d064ef 100755
--- a/gpsprof
+++ b/gpsprof
@@ -135,7 +135,7 @@ class plotter(object):
if self.session.fix.mode <= gps.MODE_NO_FIX:
continue
if self.sample():
- if countdown == await:
+ if countdown == await:
sys.stderr.write("first fix in %.2fsec, gathering %d samples..." % (time.time() - basetime, await))
countdown -= 1
baton.end()