This commit is contained in:
Mokaddem 2017-03-28 09:55:59 +02:00
parent c79d4d65c8
commit 6e80eb0954

View file

@ -64,12 +64,12 @@ def main():
if resp != 'y':
return
else:
#Do not keep item order in section. New items appened
#Do not keep item ordering in section. New items appened
for section in missingItem:
for item, value in dicoMissingItem[section]:
cfg.set(section, item, value)
#Keep sections order while updating the config file
#Keep sections ordering while updating the config file
new_dico = add_items_to_correct_position(cfgSample._sections, cfg._sections, missingSection, dicoMissingSection)
cfg._sections = new_dico