mirror of
https://github.com/bkerler/edl.git
synced 2024-11-28 02:15:40 -05:00
Update firehose.py
Fix issue with connect and usb overflowing
This commit is contained in:
parent
5f92658a81
commit
033990eb9a
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ class firehose(metaclass=LogBase):
|
||||||
info = []
|
info = []
|
||||||
while v != b'':
|
while v != b'':
|
||||||
try:
|
try:
|
||||||
v = self.cdc.read(timeout=None,length=0x80)
|
v = self.cdc.read(timeout=None)
|
||||||
if (b"response" in v and b"</data>" in v) or v == b'':
|
if (b"response" in v and b"</data>" in v) or v == b'':
|
||||||
break
|
break
|
||||||
data = self.xml.getlog(v)
|
data = self.xml.getlog(v)
|
||||||
|
|
Loading…
Reference in a new issue