Skip to content

Commit

Permalink
fix: python PATH order (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
cugu authored Jul 21, 2024
1 parent a9e8855 commit 83251af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reaction/action/python/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (a *Python) Run(ctx context.Context, payload string) ([]byte, error) {
}

func pythonSetup(ctx context.Context, tempDir string) ([]byte, error) {
pythonPath, err := findExec("python", "python3")
pythonPath, err := findExec("python3", "python")
if err != nil {
return nil, fmt.Errorf("python or python3 binary not found, %w", err)
}
Expand Down

0 comments on commit 83251af

Please sign in to comment.