Fixing issue 5342: 'The double quote is missing in the string'

This commit is contained in:
lizard 2023-11-24 16:03:31 -06:00 committed by David Lord
parent b97165db75
commit 1d5abfadd7
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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: