Add parse make.conf #2

master
serkus01 2 years ago
parent 67dd6e48ba
commit cc5e0dff31

File diff suppressed because one or more lines are too long

@ -16,12 +16,13 @@ def parseMakeConf():
for line in lines:
if not line.startswith('#'):
if StateBox is 'Null' and not line.endswith('"'):
if not line.endswith('"')
StateBox = line.split('=')[0]
MakeConfig[StateBox] = line.split('=')[]
MakeConfig[StateBox] = line.split('=')] = []
elif StateBox is not 'Null' and not line.endswith('"')
StateBox ='Null'
else:
pass
else:
pass
print(MakeConfig)

Loading…
Cancel
Save