summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'],