# HG changeset patch # User drewp@bigasterisk.com # Date 1528566907 0 # Node ID 0d567241f1e09c0d602d7b9dd36b59c5bb41d38c # Parent cc65c40802f63da90d4f61126ca831af5e59cd32 collector: hide overflow USBErrors Ignore-this: ca45cc51ec8c6cea1fdf857046bb56cc diff -r cc65c40802f6 -r 0d567241f1e0 light9/collector/output.py --- a/light9/collector/output.py Sat Jun 09 17:41:45 2018 +0000 +++ b/light9/collector/output.py Sat Jun 09 17:55:07 2018 +0000 @@ -172,8 +172,9 @@ 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):