Skip to content

Commit

Permalink
Fix example SECRET_KEY generation code
Browse files Browse the repository at this point in the history
Removes the extra `)` in: `print(secrets.token_hex())`
  • Loading branch information
rnevius authored and ThiefMaster committed Oct 18, 2021
1 parent ded812b commit 225ff3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.**
Expand Down

0 comments on commit 225ff3e

Please sign in to comment.