From c79cf97d2b0a06445725bfb6fede5f9b6541e72e Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 30 May 2018 13:12:41 +0200 Subject: [PATCH] Update screen_utils.py --- src/fenrirscreenreader/utils/screen_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/utils/screen_utils.py b/src/fenrirscreenreader/utils/screen_utils.py index efb0d0b9..00224ce2 100644 --- a/src/fenrirscreenreader/utils/screen_utils.py +++ b/src/fenrirscreenreader/utils/screen_utils.py @@ -40,11 +40,11 @@ def hasMore(fd, timetout=0.2): return (fd in r) def hasMoreWaht(fdList, timetout=0.2): if not isinstance(fdList, list): - return [], False + return [] if fdList = []: - return [], False + return [] r, _, _ = select.select(fdList, [], [], timetout) - return r, (fd in r) + return r def isValidShell(shell = ''): if not isinstance(shell, str): return False