Skip to content
Snippets Groups Projects
Commit 2fd4c78f authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: save_debug_data does only work in debug mode

parent 36f19073
No related branches found
No related tags found
1 merge request!105REL: v0.4.0
......@@ -1288,7 +1288,7 @@ def crawler_main(crawled_directory_path: str,
except ConverterValidationError as err:
print(err)
return 1
if provenance_file is not None:
if provenance_file is not None and debug:
crawler.save_debug_data(provenance_file)
if identifiables_definition_file is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment