[Windows] Use os.pathsep instead of ':'

- Good idea by MDW mentioned in #392
This commit is contained in:
Salvador E. Tropea 2023-02-25 14:50:24 -03:00
parent 5c0f94f564
commit 774cb7a673
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ if os.environ.get('KIAUS_USE_NIGHTLY'): # pragma: no cover (nightly)
sys_path.insert(0, pcbnew_path)
# This helps other tools like iBoM to pick-up the right pcbnew module
if 'PYTHONPATH' in os.environ:
os.environ['PYTHONPATH'] += ':'+pcbnew_path
os.environ['PYTHONPATH'] += os.pathsep+pcbnew_path
else:
os.environ['PYTHONPATH'] = pcbnew_path
nightly = True