From 414da87d0e8c59d401fe3b9024012d3d2b7ca9d4 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Mon, 16 Oct 2023 01:38:44 -0700 Subject: [PATCH] Also ignore modules in /var/home --- bin/lutris | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lutris b/bin/lutris index 3b00b572d..d9bffa725 100755 --- a/bin/lutris +++ b/bin/lutris @@ -23,7 +23,7 @@ LAUNCH_PATH = dirname(realpath(__file__)) # Prevent loading Python modules from home folder # They can interfere with Lutris and prevent it # from working. -sys.path = [path for path in sys.path if not path.startswith("/home")] +sys.path = [path for path in sys.path if not path.startswith("/home") and not path.startswith("/var/home")] if os.path.isdir(os.path.join(LAUNCH_PATH, "../lutris")): sys.dont_write_bytecode = True