The script hard codes the names of sections which I don’t think is necessary.
Replacing the existing code with:
sections_to_parse = config.sections()
should mean the script takes secrions from config.ini and doesn’t need editing when new services are added or removed.
The script hard codes the names of sections which I don’t think is necessary.
Replacing the existing code with:
sections_to_parse = config.sections()
should mean the script takes secrions from config.ini and doesn’t need editing when new services are added or removed.