diff --git a/builder.py b/builder.py index 7025a7c..67988ea 100755 --- a/builder.py +++ b/builder.py @@ -159,7 +159,7 @@ def get_total_folders(folder: str, _args: Args, _total: int = 0) -> int: items = sorted(os.listdir(folder)) for item in items: - if item not in EXCLUDES and os.path.isdir(os.path.join(folder, item)): + if item not in EXCLUDES and os.path.isdir(os.path.join(folder, item)) and not item.startswith("."): if item not in _args.exclude_folders and not any( fnmatch.fnmatchcase(os.path.join(folder, item), exclude) for exclude in _args.exclude_folders ):