Fix build failure missed one isosx instance

This commit is contained in:
Kovid Goyal 2020-09-09 15:56:14 +05:30
parent 6fcd0e7407
commit 7f6dce5218
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -103,7 +103,7 @@ def is_ext_allowed(ext):
only = ext.get('only', '') only = ext.get('only', '')
if only: if only:
only = set(only.split()) only = set(only.split())
q = set(filter(lambda x: globals()["is" + x], ["bsd", "freebsd", "haiku", "linux", "osx", "windows"])) q = set(filter(lambda x: globals()["is" + x], ["bsd", "freebsd", "haiku", "linux", "macos", "windows"]))
return len(q.intersection(only)) > 0 return len(q.intersection(only)) > 0
return True return True