Skip to content

Commit

Permalink
Filtes hidden directories during /learn
Browse files Browse the repository at this point in the history
  • Loading branch information
3coins committed Nov 1, 2023
1 parent 92dab10 commit d2d5d87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def split(path, splitter):
chunks = []

for dir, _, filenames in os.walk(path):
if dir in EXCLUDE_DIRS:
if dir.startswith(".") or dir in EXCLUDE_DIRS:
continue

for filename in filenames:
Expand Down

0 comments on commit d2d5d87

Please sign in to comment.