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
d26176e9
Commit
d26176e9
authored
Jun 27, 2019
by
Pierre Dittgen
Browse files
Fix crash on uploaded file validation
parent
6897550a
Changes
1
Show whitespace changes
Inline
Side-by-side
validata_ui/views.py
View file @
d26176e9
...
...
@@ -391,7 +391,7 @@ def validate(schema_instance: SchemaInstance, source: ValidataResource):
urlencode
({
**
schema_instance
.
request_parameters
(),
"url"
:
source
.
url
,
}))
}))
if
source
.
type
==
'url'
else
None
return
render_template
(
'validation_report.html'
,
badge_msg
=
badge_msg
,
...
...
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