Skip to content

Commit

Permalink
fix(BaseModel): don't suppress error if exe not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Aug 3, 2023
1 parent ca838b1 commit 06c6768
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions flopy/mbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,7 @@ def __init__(
self._namefile = self.__name + "." + self.namefile_ext
self._packagelist = []
self.heading = ""
try:
self.exe_name = resolve_exe(exe_name)
except:
self.exe_name = "mf2005"
self.exe_name = resolve_exe(exe_name)
self._verbose = verbose
self.external_path = None
self.external_extension = "ref"
Expand Down

0 comments on commit 06c6768

Please sign in to comment.