gitlab: handle public gitlab without explicit url

This commit is contained in:
Iain Learmonth 2022-08-30 11:55:00 +01:00
parent ece9244966
commit f81ff2e1de

View file

@ -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")