Started - saving work
This commit is contained in:
parent
d6c3f6aa9b
commit
c151fd6910
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
import os
|
||||
|
||||
config = open('.config', 'rt')
|
||||
|
||||
compose-path = config.readline()
|
||||
compose-path = compose-path[compose-path.find('=')+1:]
|
||||
if compose-path[-1:] != '/':
|
||||
compose-path += '/'
|
||||
|
||||
exclude-containers = config.readline()
|
||||
exclude-containers = exclude-containers[exclude-containers.find('=')+1:].split(',')
|
||||
|
||||
compose-paths = [compose-path + dir for dir in os.listdir(compose-path)]
|
Loading…
Reference in a new issue