From e54d7c9fdba0d4d9ff7f355ef91900cb4cf03857 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Sun, 25 Aug 2024 14:53:05 -0300 Subject: [PATCH] Update write_config.py --- script/write_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/write_config.py b/script/write_config.py index 05a1ef96..fb83afda 100644 --- a/script/write_config.py +++ b/script/write_config.py @@ -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)