Fix a comment I broke

This commit is contained in:
Oscuro87 2020-01-28 16:30:36 +01:00
parent 285cb420dc
commit 0e2994203a

View file

@ -564,8 +564,9 @@ class DefaultScript(ScriptBase):
Restarts an already existing/running Script from the
beginning, optionally using different settings. This will
first call the stop hooks, and then the start hooks again.
it should not accept 0 at alln seconds. if `None`, will use the
already stored interval.
Args:
interval (int, optional): Allows for changing the interval
of the Script. Given in seconds. if `None`, will use the
repeats (int, optional): The number of repeats. If unset, will
use the previous setting.
start_delay (bool, optional): If we should wait `interval` seconds