Fix absolute paths again

This commit is contained in:
askiiart 2022-12-16 21:17:06 -06:00
parent 7675ffe0fc
commit a6f47371aa

View file

@ -11,7 +11,7 @@ compose_path = config.readline()
compose_path = compose_path[compose_path.find('=')+1:].strip() compose_path = compose_path[compose_path.find('=')+1:].strip()
if compose_path[-1:] != '/': if compose_path[-1:] != '/':
compose_path += '/' compose_path += '/'
if compose_path[1] != '/': if compose_path[0] != '/':
compose_path = f'{working_dir}/{compose_path}' compose_path = f'{working_dir}/{compose_path}'
exclude_containers = config.readline() exclude_containers = config.readline()