decrease timeout

This commit is contained in:
chrys 2018-06-04 19:52:59 +02:00
parent 48fe891ac2
commit 1c6aa01df7

View File

@ -102,6 +102,7 @@ class driver(screenDriver):
fdList += [fd] fdList += [fd]
if interruptFd: if interruptFd:
fdList += [interruptFd] fdList += [interruptFd]
starttime = time.time()
while True: while True:
# 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
if (time.time() - starttime) >= timeout: if (time.time() - starttime) >= timeout: