Update screen_utils.py
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user