Update screen_utils.py
This commit is contained in:
parent
4dc71060a1
commit
ad4b3766fd
@ -41,7 +41,7 @@ def hasMore(fd, timetout=0.2):
|
|||||||
def hasMoreWaht(fdList, timetout=0.2):
|
def hasMoreWaht(fdList, timetout=0.2):
|
||||||
if not isinstance(fdList, list):
|
if not isinstance(fdList, list):
|
||||||
return []
|
return []
|
||||||
if fdList = []:
|
if 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