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):
|
||||
if not isinstance(fdList, list):
|
||||
return []
|
||||
if fdList == []:
|
||||
elif fdList == []:
|
||||
return []
|
||||
r, _, _ = select.select(fdList, [], [], timetout)
|
||||
return r
|
||||
|
Loading…
Reference in New Issue
Block a user