Skip to content

Commit

Permalink
fix: proper key check (follow up)
Browse files Browse the repository at this point in the history
Addresses #104 (comment)
  • Loading branch information
isidentical committed Feb 16, 2024
1 parent 1fd20ab commit c678d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isolate/backends/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def key(self) -> str:
constraints = []

extras = []
if not self.resolver:
if self.resolver is not None:
extras.append(f"resolver={self.resolver}")

active_python_version = self.python_version or active_python()
Expand Down

0 comments on commit c678d54

Please sign in to comment.