Prevent duplicate regex_patterns
This commit is contained in:
parent
d4582e7330
commit
06a7c06933
235 changed files with 467 additions and 782 deletions
|
|
@ -112,7 +112,7 @@ def collect_profiles(
|
|||
trash_id_to_scoring_mapping,
|
||||
):
|
||||
for root, _, files in os.walk(input_dir):
|
||||
for filename in files:
|
||||
for filename in sorted(files):
|
||||
if not filename.endswith(".json"):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue