Skip to content

Commit

Permalink
Merge branch 'master' into noorduin-docker-k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
willem-deltares committed Sep 9, 2023
2 parents ae53945 + c68699f commit 779c6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ra2ce/graph/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _get_stored_network_and_graph(
)

def check_base_file(file_type: str, file_path: Path):
if not isinstance(base_graph_filepath) or not base_graph_filepath.is_file():
if not isinstance(base_graph_filepath, Path) or not base_graph_filepath.is_file():
raise FileNotFoundError(
"No base {} file found at {}.".format(file_type, file_path)
)
Expand Down

0 comments on commit 779c6d8

Please sign in to comment.