Removed buggy statement, which was expected to detect recently created review files

This commit is contained in:
2024-03-26 16:34:38 +01:00
parent 1a89e1af66
commit 2aac145379

View File

@ -77,7 +77,7 @@ def first_initialize_metadata_review(filename_path,initials):
status_dict = repo_obj.status()
for key in status_dict:
# Identify keys associated to review files and stage them
if review_filename_tail in key:
if 'review/'+filename in key:
# Stage changes
repo_obj.index.add(key)
repo_obj.create_commit(message="Initialized metadata review process.")