Skip to content

Commit 1b167be

Browse files
committed
Use env_dir accessor
1 parent bd0dfeb commit 1b167be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tox/tox_env/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __getattribute__(self, name: str) -> Any:
6767

6868
def register_config(self) -> None:
6969
super().register_config()
70-
file_lock_path: Path = self.conf["env_dir"] / "file.lock"
70+
file_lock_path: Path = self.env_dir / "file.lock"
7171
self._file_lock = FileLock(file_lock_path)
7272
file_lock_path.parent.mkdir(parents=True, exist_ok=True)
7373
self.core.add_config(

0 commit comments

Comments
 (0)