# HG changeset patch # User drewp@bigasterisk.com # Date 2018-06-09 17:55:07 # Node ID 0d567241f1e09c0d602d7b9dd36b59c5bb41d38c # Parent cc65c40802f63da90d4f61126ca831af5e59cd32 collector: hide overflow USBErrors Ignore-this: ca45cc51ec8c6cea1fdf857046bb56cc diff --git a/light9/collector/output.py b/light9/collector/output.py --- a/light9/collector/output.py +++ b/light9/collector/output.py @@ -172,8 +172,9 @@ class Udmx(DmxOutput): return True except usb.core.USBError as e: # not in main thread - msg = 'usb: sending %s bytes to %r; error %r' % (len(buf), self.uri, e) - print msg + 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):