mirror of https://github.com/pallets/flask.git
Fixing issue 5342: 'The double quote is missing in the string'
This commit is contained in:
parent
b97165db75
commit
1d5abfadd7
|
@ -4,6 +4,7 @@ Version 3.0.1
|
||||||
Unreleased
|
Unreleased
|
||||||
|
|
||||||
- Correct type for ``path`` argument to ``send_file``. :issue:`5230`
|
- Correct type for ``path`` argument to ``send_file``. :issue:`5230`
|
||||||
|
- Fix a typo in an error message for the ``flask run --key`` option. :pr:`5344`
|
||||||
|
|
||||||
|
|
||||||
Version 3.0.0
|
Version 3.0.0
|
||||||
|
|
|
@ -795,7 +795,9 @@ def _validate_key(ctx, param, value):
|
||||||
|
|
||||||
if is_context:
|
if is_context:
|
||||||
raise click.BadParameter(
|
raise click.BadParameter(
|
||||||
'When "--cert" is an SSLContext object, "--key is not used.', ctx, param
|
'When "--cert" is an SSLContext object, "--key" is not used.',
|
||||||
|
ctx,
|
||||||
|
param,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not cert:
|
if not cert:
|
||||||
|
|
Loading…
Reference in New Issue