Add cwd to fix relative paths

This commit is contained in:
--global 2022-12-14 13:56:42 -06:00
parent 49ffe752a0
commit efb7c42724
2 changed files with 4 additions and 0 deletions

View file

@ -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 \

View file

@ -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 \