Update screen_utils.py
This commit is contained in:
parent
7b224e9277
commit
b35f91e7ff
@ -41,7 +41,7 @@ def hasMore(fd, timetout=0.2):
|
|||||||
def hasMoreWhat(fdList, timetout=0.2):
|
def hasMoreWhat(fdList, timetout=0.2):
|
||||||
if not isinstance(fdList, list):
|
if not isinstance(fdList, list):
|
||||||
return []
|
return []
|
||||||
if fdList == []:
|
elif fdList == []:
|
||||||
return []
|
return []
|
||||||
r, _, _ = select.select(fdList, [], [], timetout)
|
r, _, _ = select.select(fdList, [], [], timetout)
|
||||||
return r
|
return r
|
||||||
|
Loading…
Reference in New Issue
Block a user