Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system_demo_mode/config.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/system_demo_mode/config.py b/system_demo_mode/config.py
index 131b5fc1..24e25be5 100644
--- a/system_demo_mode/config.py
+++ b/system_demo_mode/config.py
@@ -23,11 +23,8 @@ import os
def blend_list(path):
for dirpath, dirnames, filenames in os.walk(path):
-
- # skip '.svn'
- if dirpath.startswith("."):
- continue
-
+ # skip '.git'
+ dirnames[:] = [d for d in dirnames if not d.startswith(".")]
for filename in filenames:
if filename.lower().endswith(".blend"):
filepath = os.path.join(dirpath, filename)