Skip to content

Commit

Permalink
fix: misspelling in library name in regular wntr too
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Dec 14, 2024
1 parent 19a34f4 commit 42e9d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wntr/epanet/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
libepanet = resource_filename(__name__, "libepanet/windows-x64/epanet2.dll")
elif sys.platform in ["darwin"]:
if 'arm' in platform.platform().lower():
libepanet = resource_filename(__name__, "libepanet/darwin-arm/libepanet.dylib")
libepanet = resource_filename(__name__, "libepanet/darwin-arm/libepanet2.dylib")
else:
libepanet = resource_filename(__name__, "libepanet/darwin-x64/libepanet.dylib")
libepanet = resource_filename(__name__, "libepanet/darwin-x64/libepanet2.dylib")
else:
libepanet = resource_filename(__name__, "libepanet/linux-x64/libepanet2.so")

Expand Down

0 comments on commit 42e9d92

Please sign in to comment.