Skip to content

Commit

Permalink
Merge pull request python-pillow#8469 from radarhere/disable
Browse files Browse the repository at this point in the history
Fixed disabling a feature during install
  • Loading branch information
mergify[bot] authored Oct 16, 2024
2 parents 96fb0e6 + 7c194b5 commit 1c11d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def finalize_options(self) -> None:
pass
for x in self.feature:
if getattr(self, f"disable_{x}"):
setattr(self.feature, x, False)
self.feature.set(x, False)
self.feature.required.discard(x)
_dbg("Disabling %s", x)
if getattr(self, f"enable_{x}"):
Expand Down

0 comments on commit 1c11d45

Please sign in to comment.