From f81ff2e1de64ca3d1e5199484154d4f90969e1f6 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Tue, 30 Aug 2022 11:55:00 +0100 Subject: [PATCH] gitlab: handle public gitlab without explicit url --- app/terraform/list/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")