Skip to content

Commit 225ff3e

Browse files
rneviusThiefMaster
authored andcommitted
Fix example SECRET_KEY generation code
Removes the extra `)` in: `print(secrets.token_hex())`
1 parent ded812b commit 225ff3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The following configuration values are used internally by Flask:
180180
application. It should be a long random ``bytes`` or ``str``. For
181181
example, copy the output of this to your config::
182182

183-
$ python -c 'import secrets; print(secrets.token_hex()))'
183+
$ python -c 'import secrets; print(secrets.token_hex())'
184184
'192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf'
185185

186186
**Do not reveal the secret key when posting questions or committing code.**

0 commit comments

Comments
 (0)