Minimal fixes of no bugs! (0.28.4)

This commit is contained in:
Johannes Findeisen 2023-09-06 07:24:51 +02:00
commit 6c2dcc7f90
2 changed files with 4 additions and 4 deletions

6
TODO
View file

@ -1,6 +1,6 @@
# TODO TODO
## Next Steps: Next Steps:
1. Define the status of services (OK and ERROR enough?) 1. Define the status of services (OK and ERROR enough?)
2. Handle the status of services and produce a new internal status (OK, ERROR, WARNING enough?) 2. Handle the status of services and produce a new internal status (OK, ERROR, WARNING enough?)
@ -8,7 +8,7 @@
4. Implement the Plugin interface and write a plugin to show some data and statistics in a web interface 4. Implement the Plugin interface and write a plugin to show some data and statistics in a web interface
5. Add more services, tasks and maybe plugins... 5. Add more services, tasks and maybe plugins...
## Things to do in no particular order: Things to do in no particular order:
- Implement error handling at all needed places! currently nearly no error handling is done! - Implement error handling at all needed places! currently nearly no error handling is done!
- Configure the logger - Configure the logger

View file

@ -26,7 +26,7 @@ class Configuration:
"root path!") "root path!")
# add keys and values defined in sub dirs and configuration ini files. # add keys and values defined in sub dirs and configuration ini files.
for target_section in ['databases', 'notifications', 'plugins', 'services', 'tasks']: for target_section in ['notifications', 'plugins', 'services', 'tasks']:
# check if section exists before adding content. if not exists add the section. # check if section exists before adding content. if not exists add the section.
if not self._configuration.has_section(target_section): if not self._configuration.has_section(target_section):
self._configuration.add_section(target_section) self._configuration.add_section(target_section)