summaryrefslogtreecommitdiff
path: root/gpssim.py
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2017-07-01 17:53:00 -0700
committerGary E. Miller <gem@rellim.com>2017-07-01 17:53:00 -0700
commit613132ca575cbdf08ae2217d00280e0dd4c3ccd3 (patch)
tree5ef511b482358974b3943b7934ed82b3f7b3da9d /gpssim.py
parent8fd53faae12fad37130651e6a66abc6ed3495815 (diff)
downloadgpsd-613132ca575cbdf08ae2217d00280e0dd4c3ccd3.tar.gz
gps/fake.py, gpssim.py: pep8 fixes
Diffstat (limited to 'gpssim.py')
-rw-r--r--gpssim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpssim.py b/gpssim.py
index 948b6010..60176633 100644
--- a/gpssim.py
+++ b/gpssim.py
@@ -294,7 +294,7 @@ class NMEA(object):
"Report the simulation state."
out = ""
for sentence in self.sentences:
- if isinstance(sentence, 'tuple'):
+ if isinstance(sentence, tuple):
(interval, sentence) = sentence
if self.counter % interval:
continue