Skip to content

Commit

Permalink
Update write_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN authored Aug 25, 2024
1 parent dc17ea1 commit e54d7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/write_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def remove_config_files(d: dict[str, Any], reset_files: set[str]):
in the list of files to be reset by overrideConfig.
"""
for del_path in reset_files - set(d.keys()):
for file_to_del in glob.glob(del_path):
for file_to_del in glob.glob(del_path, recursive=True):
if os.path.isfile(file_to_del):
os.remove(file_to_del)

Expand Down

0 comments on commit e54d7c9

Please sign in to comment.