Skip to content

Commit

Permalink
Remove unneeded conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Apr 10, 2024
1 parent 96bbb5e commit 4ee29ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ribasim/ribasim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def validate_model(self):
@classmethod
def read(cls, filepath: str | PathLike[str]) -> "Model":
"""Read model from TOML file."""
return cls(filepath=Path(filepath)) # type: ignore
return cls(filepath=filepath) # type: ignore

def write(self, filepath: str | PathLike[str]) -> Path:
"""
Expand Down

0 comments on commit 4ee29ad

Please sign in to comment.