Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
6e476a35
Commit
6e476a35
authored
Jun 21, 2019
by
Christophe Benz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow loading catalog by file path also
parent
04fe515d
Pipeline
#1070
passed with stage
in 4 minutes and 55 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
validata_ui/__init__.py
validata_ui/__init__.py
+1
-1
No files found.
validata_ui/__init__.py
View file @
6e476a35
...
...
@@ -41,7 +41,7 @@ if config.HOMEPAGE_CONFIG:
name
=
section
[
'name'
]
log
.
info
(
'Initializing homepage section "{}"...'
.
format
(
name
))
catalog
=
section
.
get
(
'catalog'
)
if
catalog
and
isinstance
(
catalog
,
str
)
and
catalog
.
startswith
(
'http'
)
:
if
catalog
and
isinstance
(
catalog
,
str
):
schema_catalog_map
[
name
]
=
opendataschema
.
SchemaCatalog
(
catalog
,
session
=
caching_session
)
log
.
info
(
"...done"
)
...
...
Write
Preview
Markdown
is supported
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