[core/config] Add interval (as parameter store)

Add a generic parameter store to the configuration and use it to set the
parameter "interval" (backwards compatibility)
This commit is contained in:
Tobias Witek 2020-01-25 14:24:21 +01:00
parent 8a2ef5ea5d
commit 5a60a23ebd
3 changed files with 32 additions and 4 deletions

View file

@ -17,6 +17,7 @@ def main():
module.update()
sys.stdout.write(output.draw(module))
sys.stdout.write(output.end_status_line())
output.sleep(config.interval())
sys.stdout.write(output.stop())