Skip to content

Commit

Permalink
refactor(mbase): append not prepend flopy bindir to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Dec 8, 2023
1 parent 5a4533b commit 6d9ae7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flopy/mbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
flopy_bin = os.path.expandvars(r"%LOCALAPPDATA%\flopy\bin")
else:
flopy_bin = os.path.join(os.path.expanduser("~"), ".local/share/flopy/bin")
os.environ["PATH"] = flopy_bin + os.path.pathsep + os.environ.get("PATH", "")
os.environ["PATH"] = os.environ.get("PATH", "") + os.path.pathsep + flopy_bin

## Global variables
# Multiplier for individual array elements in integer and real arrays read by
Expand Down

0 comments on commit 6d9ae7a

Please sign in to comment.