mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fixed disabling a feature
This commit is contained in:
parent
96fb0e63ea
commit
7c194b54ef
2
setup.py
2
setup.py
|
@ -389,7 +389,7 @@ class pil_build_ext(build_ext):
|
||||||
pass
|
pass
|
||||||
for x in self.feature:
|
for x in self.feature:
|
||||||
if getattr(self, f"disable_{x}"):
|
if getattr(self, f"disable_{x}"):
|
||||||
setattr(self.feature, x, False)
|
self.feature.set(x, False)
|
||||||
self.feature.required.discard(x)
|
self.feature.required.discard(x)
|
||||||
_dbg("Disabling %s", x)
|
_dbg("Disabling %s", x)
|
||||||
if getattr(self, f"enable_{x}"):
|
if getattr(self, f"enable_{x}"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user