fix(automate): Pass through working directory to superclass
This commit is contained in:
parent
aeca11024a
commit
30b60e9048
4 changed files with 10 additions and 8 deletions
|
@ -1,3 +1,5 @@
|
|||
from typing import Any
|
||||
|
||||
from flask import current_app
|
||||
|
||||
from app.terraform.list import ListAutomation
|
||||
|
@ -52,7 +54,7 @@ class ListGitlabAutomation(ListAutomation):
|
|||
{% endfor %}
|
||||
"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
super().__init__(*args, **kwargs)
|
||||
if 'GITLAB_URL' in current_app.config:
|
||||
self.template_parameters.append("gitlab_url")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue