ignore ".svn" when returning lists

also add variation blend files (WIP)
This commit is contained in:
2015-01-07 17:51:19 +11:00
parent e6022ee4a8
commit 9c8521c629
6 changed files with 55 additions and 1 deletions

View File

@@ -63,6 +63,11 @@ class DirectoryAPI(Resource):
items_list = []
for f in os.listdir(path_root_abs):
# ignore svn internal paths
if f == ".svn":
continue
f_rel = os.path.join(path, f)
f_abs = os.path.join(path_root_abs, f)