Ignore hidden directories (e.g. .git)
This commit is contained in:
parent
d5d99ca00a
commit
531ff35183
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ in exclude_containers[exclude_containers.find('=')+1:].split(',')]
|
||||||
|
|
||||||
compose_dirs = []
|
compose_dirs = []
|
||||||
for dir in os.listdir(compose_path):
|
for dir in os.listdir(compose_path):
|
||||||
if os.path.isdir(compose_path + dir) and dir not in exclude_containers:
|
if os.path.isdir(compose_path + dir) and dir not in exclude_containers and dir[0] != '.':
|
||||||
compose_dirs.append(compose_path + dir + '/')
|
compose_dirs.append(compose_path + dir + '/')
|
||||||
|
|
||||||
containers = []
|
containers = []
|
||||||
|
|
Loading…
Reference in a new issue