diff --git a/app/terraform/list/gitlab.py b/app/terraform/list/gitlab.py index 9dd48f5..61efd0d 100644 --- a/app/terraform/list/gitlab.py +++ b/app/terraform/list/gitlab.py @@ -54,5 +54,5 @@ class ListGitlabAutomation(ListAutomation): def __init__(self): super().__init__() - if current_app.config['GITLAB_URL']: + if 'GITLAB_URL' in current_app.config: self.template_parameters.append("gitlab_url")