Tools: correct path separator in PYTHONPATH

This commit is contained in:
Peter Barker 2020-03-04 13:34:51 +11:00 committed by Peter Barker
parent 1486421581
commit c517124c72
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ def start_mavproxy(opts, stuff):
old = env.get('PYTHONPATH', None) old = env.get('PYTHONPATH', None)
env['PYTHONPATH'] = local_mp_modules_dir env['PYTHONPATH'] = local_mp_modules_dir
if old is not None: if old is not None:
env['PYTHONPATH'] += os.path.sep + old env['PYTHONPATH'] += os.path.pathsep + old
run_cmd_blocking("Run MavProxy", cmd, env=env) run_cmd_blocking("Run MavProxy", cmd, env=env)
progress("MAVProxy exited") progress("MAVProxy exited")