[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:
parent
8a2ef5ea5d
commit
5a60a23ebd
3 changed files with 32 additions and 4 deletions
|
@ -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())
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue