mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix build failure missed one isosx instance
This commit is contained in:
parent
6fcd0e7407
commit
7f6dce5218
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user