1 parent 38c2d8a commit 7259dfdCopy full SHA for 7259dfd
1 file changed
src/tempyenv/cli.py
@@ -38,7 +38,7 @@ def load_virtual_environment(self):
38
try:
39
print(f"Virtual environment loading from {self.venv_path}")
40
user_shell_name = os.path.basename(os.environ.get("SHELL", ""))
41
- if user_shell_name in self.BASH_COMPATIBLE_SHELLS:
+ if user_shell_name in TemporaryVenvCreator.BASH_COMPATIBLE_SHELLS:
42
current_shell = user_shell_name
43
else:
44
if shutil.which("bash") is None:
0 commit comments