slotUI/freeslot.py

changeset 57
c2e2695c92fe
parent 50
84b8ab4cd79e
child 77
cede78304992
--- a/slotUI/freeslot.py	Fri Dec 09 12:28:47 2011 +0100
+++ b/slotUI/freeslot.py	Fri Dec 09 12:32:36 2011 +0100
@@ -27,7 +27,8 @@
         if self.connected:
             return True
         try:
-            self.com = serial.Serial(self.device, baudrate=self.speed, xonxoff=0, timeout=1)
+            self.com = serial.Serial(self.device, baudrate=self.speed, 
+                xonxoff=0, timeout=0.1)
         except serial.SerialException, err:
             print err
             sys.exit(1)

mercurial