diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-29 15:36:12 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-29 15:36:12 -0700 |
commit | 1c2ab0e5c8307c8711a7c05a70e715efdf3f456d (patch) | |
tree | 45093cdbe2abfb18479f81bb9732d21eb590b098 /zerk | |
parent | 6120c2d70a6fb29abb790005e970df52737a6b43 (diff) | |
download | gpsd-1c2ab0e5c8307c8711a7c05a70e715efdf3f456d.tar.gz |
zerk: PEP8 tweak
Diffstat (limited to 'zerk')
-rwxr-xr-x | zerk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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'], |