summaryrefslogtreecommitdiff
path: root/scripts/mkvenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkvenv.py')
-rwxr-xr-xscripts/mkvenv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py
index 737ea145d..005c657a1 100755
--- a/scripts/mkvenv.py
+++ b/scripts/mkvenv.py
@@ -180,7 +180,7 @@ def delete_old_venv(venv_dir: pathlib.Path) -> None:
'remove it.'.format(venv_dir))
print_command('rm -r', venv_dir, venv=False)
- shutil.rmtree(str(venv_dir))
+ shutil.rmtree(venv_dir)
def create_venv(venv_dir: pathlib.Path, use_virtualenv: bool = False) -> None: