mirror of
https://github.com/lutris/lutris
synced 2024-09-05 15:33:40 +00:00
Unset PYTHONPATH in wrapper script to avoid confusing Steam (Closes #1619)
This commit is contained in:
parent
f47fe1a63b
commit
f0f7c7e70b
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue