Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jarno-knaw committed Oct 24, 2024
1 parent 31f8a79 commit 3d7a230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_file_from_config(config_data: dict, data_dir: str) -> TextIO:

return urllib.request.urlopen(req)

raise InvalidConfigurationException("Type must be file")
raise InvalidConfigurationException("Unknown type")


def load_vocabulary(source_data: dict, data_dir: str, graph_name: str) -> None:
Expand Down

0 comments on commit 3d7a230

Please sign in to comment.