Skip to content

Commit

Permalink
Prefer custom path to system path.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed May 10, 2024
1 parent bc79a7d commit f2bfe5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nihtest/Environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, configuration):
if variable == "PATH" and configuration.get_program_directories():
additional_path = os.pathsep.join(configuration.get_program_directories())
if self.environment[variable]:
self.environment[variable] += os.pathsep + additional_path
self.environment[variable] = additional_path + os.pathsep + self.environment[variable]
else:
self.environment[variable] = additional_path

Expand Down

0 comments on commit f2bfe5c

Please sign in to comment.