Skip to content

Commit 38fa08c

Browse files
committed
fix: remove duplicated python3 in path
1 parent cdc6983 commit 38fa08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gardenlinux/build/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _getInterpreter(path: str | PathLike[str]) -> pathlib.Path:
6767
def _get_python_from_path() -> pathlib.Path | None:
6868
interpreter = None
6969
for dir in os.environ["PATH"].split(":"):
70-
binary = pathlib.Path(dir, "python3").joinpath("python3")
70+
binary = pathlib.Path(dir, "python3")
7171
if binary.is_file():
7272
interpreter = binary
7373
break

0 commit comments

Comments
 (0)