Skip to content

Commit

Permalink
#365 change if to elif
Browse files Browse the repository at this point in the history
  • Loading branch information
MRVermeulenDeltares committed Mar 17, 2023
1 parent 16463fa commit 9c9593b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrolib/core/basemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ def __str__(self) -> str:
def _change_to_path(filepath):
if filepath is None:
return filepath
if isinstance(filepath, Path):
elif isinstance(filepath, Path):
return filepath
else:
return Path(filepath)
Expand Down

0 comments on commit 9c9593b

Please sign in to comment.