Skip to content

Commit 47259d4

Browse files
committed
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.
1 parent 81a7b63 commit 47259d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qubes.Gpg2.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ for d in /etc "${XDG_CONFIG_HOME:-$HOME/.config}"; do
77
fi
88
done
99

10-
/usr/bin/python3 -m splitgpg2
10+
/usr/bin/python3 -P -m splitgpg2

0 commit comments

Comments
 (0)