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