diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-07-21 14:03:59 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-07-21 14:03:59 +0000 |
commit | 74308e462f4981836af5c276982d84d9ecc207f5 (patch) | |
tree | dd0af61e7e4ac9987965f4a450bdf3bdb2fbd75f | |
parent | 4cd0d2e9885c59ca94d84d4a2e8bc884a2f45fee (diff) | |
download | pyserial-git-74308e462f4981836af5c276982d84d9ecc207f5.tar.gz |
use False instead of 0
-rw-r--r-- | pyserial/serial/serialutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyserial/serial/serialutil.py b/pyserial/serial/serialutil.py index 7654fdf..969467c 100644 --- a/pyserial/serial/serialutil.py +++ b/pyserial/serial/serialutil.py @@ -161,8 +161,8 @@ class SerialBase(object): parity=PARITY_NONE, # enable parity checking stopbits=STOPBITS_ONE, # number of stop bits timeout=None, # set a timeout value, None to wait forever - xonxoff=0, # enable software flow control - rtscts=0, # enable RTS/CTS flow control + xonxoff=False, # enable software flow control + rtscts=False, # enable RTS/CTS flow control writeTimeout=None, # set a timeout for writes dsrdtr=False, # None: use rtscts setting, dsrdtr override if True or False interCharTimeout=None # Inter-character timeout, None to disable |