From 1c6aa01df7a4576bead3150329048a9c49fd0e31 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 4 Jun 2018 19:52:59 +0200 Subject: [PATCH] decrease timeout --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index 9e700acf..314abaf3 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -102,6 +102,7 @@ class driver(screenDriver): fdList += [fd] if interruptFd: fdList += [interruptFd] + starttime = time.time() while True: # respect timeout but wait a little bit of time to see if something more is here if (time.time() - starttime) >= timeout: