Minimal fixes of no bugs! (0.28.4)
This commit is contained in:
parent
953b036b51
commit
6c2dcc7f90
2 changed files with 4 additions and 4 deletions
6
TODO
6
TODO
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue