diff --git a/composer.py b/composer.py index 6aa5ff3..5d962b8 100644 --- a/composer.py +++ b/composer.py @@ -11,6 +11,8 @@ compose_path = config.readline() compose_path = compose_path[compose_path.find('=')+1:].strip() if compose_path[-1:] != '/': compose_path += '/' +if compose_path[1] != '/': + compose_path = f'{working_dir}/{compose_path}' exclude_containers = config.readline() exclude_containers = [container.strip() for container \ diff --git a/re_compose.py b/re_compose.py index 020a66f..4c230bd 100644 --- a/re_compose.py +++ b/re_compose.py @@ -11,6 +11,8 @@ compose_path = config.readline() compose_path = compose_path[compose_path.find('=')+1:].strip() if compose_path[-1:] != '/': compose_path += '/' +if compose_path[1] != '/': + compose_path = f'{working_dir}/{compose_path}' exclude_containers = config.readline() exclude_containers = [container.strip() for container \