Update screen_utils.py

This commit is contained in:
chrys87 2018-05-30 13:17:34 +02:00 committed by GitHub
parent ad4b3766fd
commit 54b6e24665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ def createScreenEventData(content):
def hasMore(fd, timetout=0.2): def hasMore(fd, timetout=0.2):
r, _, _ = select.select([fd], [], [], timetout) r, _, _ = select.select([fd], [], [], timetout)
return (fd in r) return (fd in r)
def hasMoreWaht(fdList, timetout=0.2): def hasMoreWhat(fdList, timetout=0.2):
if not isinstance(fdList, list): if not isinstance(fdList, list):
return [] return []
if fdList == []: if fdList == []: