Update screen_utils.py

This commit is contained in:
chrys87 2018-05-30 16:12:12 +02:00 committed by GitHub
parent 7b224e9277
commit b35f91e7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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