Update ptyDriver.py
This commit is contained in:
parent
e6e82d96eb
commit
c00fc9ea35
@ -78,7 +78,7 @@ class driver(screenDriver):
|
|||||||
if bytes == b'':
|
if bytes == b'':
|
||||||
raise EOFError
|
raise EOFError
|
||||||
# respect timeout but wait a little bit of time to see if something more is here
|
# respect timeout but wait a little bit of time to see if something more is here
|
||||||
while screen_utils.hasMore(fd,0.0000001):
|
while screen_utils.hasMore(fd,0.001):
|
||||||
if (time.time() - starttime) >= timeout:
|
if (time.time() - starttime) >= timeout:
|
||||||
break
|
break
|
||||||
data = os.read(fd, 65536)
|
data = os.read(fd, 65536)
|
||||||
|
Loading…
Reference in New Issue
Block a user