From f0f7c7e70be8697e6b32247b9b7842b9266fba88 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Fri, 18 Jan 2019 17:39:09 -0800 Subject: [PATCH] Unset PYTHONPATH in wrapper script to avoid confusing Steam (Closes #1619) --- bin/lutris-wrapper | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/lutris-wrapper b/bin/lutris-wrapper index 7b3631a38..03b2fe3c6 100755 --- a/bin/lutris-wrapper +++ b/bin/lutris-wrapper @@ -66,6 +66,8 @@ def main(): include_procs, args = args[:include_proc_count], args[include_proc_count:] exclude_procs, args = args[:exclude_proc_count], args[exclude_proc_count:] + if "PYTHONPATH" in os.environ: + del os.environ["PYTHONPATH"] monitor = ProcessMonitor(include_procs, exclude_procs) def sig_handler(signum, _frame):