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:
Diffstat (limited to 'system_demo_mode/config.py')
-rw-r--r--system_demo_mode/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/system_demo_mode/config.py b/system_demo_mode/config.py
index 93379061..74111127 100644
--- a/system_demo_mode/config.py
+++ b/system_demo_mode/config.py
@@ -15,11 +15,6 @@ def blend_list(path):
def generate(dirpath, random_order, **kwargs):
-
- # in case file is selected!
- if not os.path.exists(dirpath) or not os.path.isdir(dirpath):
- dirpath = os.path.dirname(dirpath)
-
files = list(blend_list(dirpath))
if random_order:
import random