Skip to content

Commit a2485cb

Browse files
authored
Merge pull request #184 from yum-yab/master
Thanks very much @yum-yab!
2 parents 3aa9639 + f50da5d commit a2485cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylode/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def load_ontology(ontology: Union[Graph, Path, str]) -> Graph:
267267
input_format = "turtle" # this will also cover n-triples
268268
return Graph().parse(data=ontology, format=input_format)
269269
elif isinstance(ontology, Graph):
270-
return cast(ontology, Graph)
270+
return cast(Graph, ontology)
271271
elif isinstance(ontology, Path):
272272
return Graph().parse(ontology)
273273
else:

0 commit comments

Comments
 (0)