Ran black on branc

This commit is contained in:
Griatch 2019-12-16 20:31:42 +01:00
parent 6effb6f456
commit 4ea6209123
230 changed files with 7108 additions and 2395 deletions

View file

@ -101,14 +101,20 @@ class ScriptDB(TypedObject):
# how often to run Script (secs). -1 means there is no timer
db_interval = models.IntegerField(
"interval", default=-1, help_text="how often to repeat script, in seconds. -1 means off."
"interval",
default=-1,
help_text="how often to repeat script, in seconds. -1 means off.",
)
# start script right away or wait interval seconds first
db_start_delay = models.BooleanField(
"start delay", default=False, help_text="pause interval seconds before starting."
"start delay",
default=False,
help_text="pause interval seconds before starting.",
)
# how many times this script is to be repeated, if interval!=0.
db_repeats = models.IntegerField("number of repeats", default=0, help_text="0 means off.")
db_repeats = models.IntegerField(
"number of repeats", default=0, help_text="0 means off."
)
# defines if this script should survive a reboot or not
db_persistent = models.BooleanField("survive server reboot", default=False)
# defines if this script has already been started in this session