From 0bca3564b58ff538fcf1238a4c9263250b6ee720 Mon Sep 17 00:00:00 2001 From: ume Date: Sun, 1 Mar 2020 03:13:49 +0900 Subject: [PATCH] Fix to work with python 3 (#427) Co-authored-by: Joel Speed --- docs/configuration/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index b765b5a1..3c03d6c3 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -10,7 +10,7 @@ nav_order: 3 `oauth2_proxy` can be configured via [config file](#config-file), [command line options](#command-line-options) or [environment variables](#environment-variables). -To generate a strong cookie secret use `python -c 'import os,base64; print base64.urlsafe_b64encode(os.urandom(16))'` +To generate a strong cookie secret use `python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(16)).decode())'` ### Config File