Formatting fixes

This commit is contained in:
Ana Custura 2024-02-19 12:21:02 +00:00
parent 92a746c515
commit c43dcd36c4

View file

@ -153,8 +153,8 @@ def run_job(job_cls: Type[BaseAutomation], *,
else:
automation.state = AutomationState.ERROR
safe_jobs = [
"proxy_cloudfront", "static_aws", "list_http_post", "list_s3", "list_github", "list_gitlab"
]
"proxy_cloudfront", "static_aws", "list_http_post", "list_s3", "list_github", "list_gitlab"
]
if job.short_name not in safe_jobs:
automation.enabled = False
automation.next_run = None