From 225ff3ea6c260e17a15a896d272eaba259777ba3 Mon Sep 17 00:00:00 2001 From: Ryan Nevius Date: Mon, 18 Oct 2021 10:37:39 +0200 Subject: [PATCH] Fix example `SECRET_KEY` generation code Removes the extra `)` in: `print(secrets.token_hex())` --- docs/config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.rst b/docs/config.rst index 2f387b46..ad737109 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -180,7 +180,7 @@ The following configuration values are used internally by Flask: application. It should be a long random ``bytes`` or ``str``. For example, copy the output of this to your config:: - $ python -c 'import secrets; print(secrets.token_hex()))' + $ python -c 'import secrets; print(secrets.token_hex())' '192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf' **Do not reveal the secret key when posting questions or committing code.**