gitlab: handle public gitlab without explicit url
This commit is contained in:
parent
ece9244966
commit
f81ff2e1de
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue