Skip to content

Commit 6849942

Browse files
authored
Merge pull request #10 from mr0321/main
escapes print_duration not founding the start time if not debug mode
2 parents c4e3c1e + bb7a3fc commit 6849942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

triplets/rdf_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,8 @@ def export_to_cimxml(data, rdf_map=None, namespace_map={"rdf": "http://www.w3.or
857857
export_undefined,
858858
comment,
859859
debug))
860-
861-
_, start_time = print_duration("All XML created in memory ", start_time)
860+
if debug:
861+
_, start_time = print_duration("All XML created in memory ", start_time)
862862
### Export XML ###
863863
exported_files = []
864864

0 commit comments

Comments
 (0)