From 74de24fce35c4c948999bcca8c12177ca91d8d55 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sat, 14 May 2022 10:18:47 +0100 Subject: [PATCH] automation: default state for unknown automation is disabled --- app/cli/automate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cli/automate.py b/app/cli/automate.py index 6ab0905..34a5925 100644 --- a/app/cli/automate.py +++ b/app/cli/automate.py @@ -63,7 +63,7 @@ def run_job(job: BaseAutomation, *, force: bool = False, ignore_schedule: bool = automation = Automation() automation.short_name = job.short_name automation.description = job.description - automation.enabled = True + automation.enabled = False automation.next_is_full = False automation.added = datetime.datetime.utcnow() automation.updated = automation.added