Constructor for ValidatorContext returns instance

This commit is contained in:
Sam Chow 2018-06-05 11:41:35 -04:00
parent 7f21d0da58
commit ce26ded74b

View file

@ -131,7 +131,7 @@ class ValidatorContext(object):
"""
url_scheme_and_hostname = URLSchemeAndHostname.from_app_config(app.config)
cls(config,
return cls(config,
user_password,
client or app.config['HTTPCLIENT'],
app.app_context,