Changeset - 0d567241f1e0
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 7 years ago 2018-06-09 17:55:07
drewp@bigasterisk.com
collector: hide overflow USBErrors
Ignore-this: ca45cc51ec8c6cea1fdf857046bb56cc
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/collector/output.py
Show inline comments
 
@@ -169,12 +169,13 @@ class Udmx(DmxOutput):
 
                    print "skip empty msg"
 
                    return True
 
                self.dev.SendDMX(buf)
 
                return True
 
            except usb.core.USBError as e:
 
                # not in main thread
 
                if e.errno != 75:
 
                msg = 'usb: sending %s bytes to %r; error %r' % (len(buf), self.uri, e)
 
                print msg
 
                return False
 

	
 
    def countError(self):
 
        # in main thread
0 comments (0 inline, 0 general)