From cd3f2959c0849dd583870ede4f9e590145e851e9 Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Wed, 24 Jul 2024 13:17:07 +0200 Subject: [PATCH] upsii --- builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ):