Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
052e64fd
Commit
052e64fd
authored
Mar 29, 2019
by
Pierre Dittgen
Browse files
Fix crash if SHIELDS_IO_BASE_URL is undefined
parent
02607e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/config.py
View file @
052e64fd
...
...
@@ -26,5 +26,5 @@ else:
SHIELDS_IO_BASE_URL
=
os
.
environ
.
get
(
"SHIELDS_IO_BASE_URL"
)
or
None
if
not
SHIELDS_IO_BASE_URL
.
endswith
(
'/'
):
if
SHIELDS_IO_BASE_URL
and
not
SHIELDS_IO_BASE_URL
.
endswith
(
'/'
):
SHIELDS_IO_BASE_URL
+=
'/'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment