Fix absolute paths

This commit is contained in:
askiiart 2022-12-16 21:07:00 -06:00
parent a7c6ffcfee
commit e3ac097809

View file

@ -9,7 +9,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()