diff options
author | Fred Wright <fw@fwright.net> | 2016-12-26 21:25:28 -0800 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2016-12-26 21:25:28 -0800 |
commit | 8e5c9cc61e0ce80abd273d408a0d5174cae8fbc3 (patch) | |
tree | 188a3c6338467322053f212a4a20eefdeb71c158 /gpsprof | |
parent | 328cf5039c058b4d26fb5b2e15ea982b889653f6 (diff) | |
download | gpsd-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-x | gpsprof | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |