Browse Source

Changed bytesize=7 to bytesize=serial.SEVENBITS

Nathan West 11 years ago
parent
commit
d882c0e7f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      alphasign/interfaces/local.py

+ 1 - 1
alphasign/interfaces/local.py

@@ -28,7 +28,7 @@ class Serial(base.BaseInterface):
                                baudrate=4800,
                                parity=serial.PARITY_EVEN,
                                stopbits=serial.STOPBITS_TWO,
-                               bytesize=7,
+                               bytesize=serial.SEVENBITS,
                                timeout=1,
                                xonxoff=0,
                                rtscts=0)