summaryrefslogtreecommitdiff
path: root/zerk
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-29 15:36:12 -0700
committerGary E. Miller <gem@rellim.com>2019-03-29 15:36:12 -0700
commit1c2ab0e5c8307c8711a7c05a70e715efdf3f456d (patch)
tree45093cdbe2abfb18479f81bb9732d21eb590b098 /zerk
parent6120c2d70a6fb29abb790005e970df52737a6b43 (diff)
downloadgpsd-1c2ab0e5c8307c8711a7c05a70e715efdf3f456d.tar.gz
zerk: PEP8 tweak
Diffstat (limited to 'zerk')
-rwxr-xr-xzerk3
1 files changed, 2 insertions, 1 deletions
diff --git a/zerk b/zerk
index ef6cef80..a71f2637 100755
--- a/zerk
+++ b/zerk
@@ -1521,7 +1521,8 @@ class gps_io(object):
# pyserial Ver 3.0+ changes writeTimeout to write_timeout
# Using the wrong one causes an error
- write_timeout_arg = 'write_timeout' if Serial_v3 else 'writeTimeout'
+ write_timeout_arg = ('write_timeout'
+ if Serial_v3 else 'writeTimeout')
try:
self.ser = Serial.Serial(
baudrate=opts['input_speed'],