Skip to content

Commit 67ba54e

Browse files
committed
Update output_format flag argument to always be string
Signed-off-by: Alex Nelson <[email protected]>
1 parent 835fc0b commit 67ba54e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

case_cli_example/cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ def main() -> None:
8484
(n_example_organization, NS_UCO_CORE.name, Literal("Cyber Domain Ontology"))
8585
)
8686

87-
# Write output file.
87+
# Write output file, defaulting to Turtle format.
8888
output_format = (
8989
guess_format(args.out_graph)
9090
if args.output_format is None
9191
else args.output_format
92-
)
92+
) or "turtle"
9393
graph.serialize(destination=args.out_graph, format=output_format)
9494

9595

0 commit comments

Comments
 (0)