From 105a6b94383a889977fcb0c5caf333c6afe2a227 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Wed, 30 Aug 2023 18:51:25 +0200 Subject: [PATCH] lang: Do not hardcode python executable name Use sys.executable instead to ensure the executable used by "env" is kept. --- lang/update-pot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/update-pot.py b/lang/update-pot.py index 4d8368c59d93..cff5c4abb8b1 100755 --- a/lang/update-pot.py +++ b/lang/update-pot.py @@ -67,7 +67,7 @@ def main(): try: subprocess.check_call( [ - "python", + sys.executable, SCRIPT_PATH, "--no-missing", "-s",