From 83251af565084d8b722c76b39e7382b5253ac0f1 Mon Sep 17 00:00:00 2001 From: Jonas Plum Date: Sun, 21 Jul 2024 04:21:32 +0200 Subject: [PATCH] fix: python PATH order (#1085) --- reaction/action/python/python.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaction/action/python/python.go b/reaction/action/python/python.go index cbac8674..b0595684 100644 --- a/reaction/action/python/python.go +++ b/reaction/action/python/python.go @@ -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) }