Fix : file agent loop problem

This commit is contained in:
martin legrand
2025-03-11 12:44:20 +01:00
parent 479bc2769b
commit cace6b5612
8 changed files with 7 additions and 3 deletions
-1
View File
@@ -62,7 +62,6 @@ class FileFinder(Tools):
file_path = None
excluded_files = [".pyc", ".o", ".so", ".a", ".lib", ".dll", ".dylib", ".so", ".git"]
for root, dirs, files in os.walk(directory_path):
print(f"Root: {root}, Files: {files}")
for file in files:
if any(excluded_file in file for excluded_file in excluded_files):
continue