Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Jan 9, 2025
1 parent 28796a9 commit 90e760d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antarest/study/storage/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,6 @@ def should_ignore_folder_for_scan(path: Path, filter_in: t.List[str], filter_out

return not (
path.is_dir()
and any([re.search(regex, path.name) for regex in filter_in])
and not any([re.search(regex, path.name) for regex in filter_out])
and any(re.search(regex, path.name) for regex in filter_in)
and not any(re.search(regex, path.name) for regex in filter_out)
)

0 comments on commit 90e760d

Please sign in to comment.