Skip to content

Commit

Permalink
Fixed disabling a feature
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 16, 2024
1 parent 96fb0e6 commit 7c194b5
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 7c194b5

Please sign in to comment.