lint: not in
This commit is contained in:
parent
d9158ac942
commit
aeca11024a
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def run_job(job_cls: Type[BaseAutomation], *,
|
||||||
automation.state = AutomationState.IDLE
|
automation.state = AutomationState.IDLE
|
||||||
automation.next_run = datetime.datetime.utcnow() + datetime.timedelta(
|
automation.next_run = datetime.datetime.utcnow() + datetime.timedelta(
|
||||||
minutes=getattr(job, "frequency", 7))
|
minutes=getattr(job, "frequency", 7))
|
||||||
if not 'TERRAFORM_DIRECTORY' in app.config:
|
if 'TERRAFORM_DIRECTORY' not in app.config:
|
||||||
# We used a temporary working directory
|
# We used a temporary working directory
|
||||||
shutil.rmtree(working_dir)
|
shutil.rmtree(working_dir)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue