Skip to content

Commit 5685297

Browse files
committed
Minor simplification
1 parent 6600630 commit 5685297

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bench_runner/scripts/workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def run_in_venv(
5353
venv = Path(venv)
5454

5555
if util.get_simple_platform() == "windows":
56-
exe = Path("Scripts") / "python.exe"
56+
exe = venv / "Scripts" / "python.exe"
5757
else:
58-
exe = Path("bin") / "python"
58+
exe = venv / "bin" / "python"
5959

6060
args = [
61-
str(venv / exe),
61+
str(exe),
6262
"-m",
6363
module,
6464
*cmd,

0 commit comments

Comments
 (0)