diff --git a/README.md b/README.md index 86a7eda..4882e83 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Docker Composer -This is a simple program to manage docker containers. It works similarly to Umbrel, but it is not limited to Umbrel. It can be used to manage any docker container. +This is a simple program to manage docker containers. It works similarly to Umbrel's scripts, but is not limited to Umbrel. It's really just for convenience. ## How to use diff --git a/re_compose.py b/re_compose.py index db3cdc7..0712eb3 100644 --- a/re_compose.py +++ b/re_compose.py @@ -20,7 +20,7 @@ in exclude_containers[exclude_containers.find('=')+1:].split(',')] compose_dirs = [] 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 + '/') containers = [dir[:-1][dir[:-1].rfind('/')+1:] for dir in compose_dirs]