From 47259d4db72432b3955925ad3db62fb150f2a87e Mon Sep 17 00:00:00 2001 From: Simon Gaiser Date: Thu, 22 May 2025 14:23:22 +0200 Subject: [PATCH] Don't add working directory to Python's path When the service is called via qrexec this results in the home directory being in Pyhton's sys.path which means Python is looking for modules there too. --- qubes.Gpg2.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes.Gpg2.service b/qubes.Gpg2.service index 92f76fb..b829a09 100755 --- a/qubes.Gpg2.service +++ b/qubes.Gpg2.service @@ -7,4 +7,4 @@ for d in /etc "${XDG_CONFIG_HOME:-$HOME/.config}"; do fi done -/usr/bin/python3 -m splitgpg2 +/usr/bin/python3 -P -m splitgpg2