From d4fbeacc33428c17cc6efb3899441f12f0c874ac Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 3 Jun 2021 17:29:46 -0700 Subject: [PATCH] Fix docs build --- support/build-docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/build-docs.py b/support/build-docs.py index 70100ed4..f1395cd6 100755 --- a/support/build-docs.py +++ b/support/build-docs.py @@ -53,6 +53,6 @@ if call(['git', 'diff-index', '--quiet', 'HEAD'], cwd=repo): cmd += ' https://$KEY@github.com/fmtlib/fmtlib.github.io.git master' p = Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT, cwd=repo) # Print the output without the key. - print(p.communicate()[0].replace(os.environ['KEY'], '$KEY')) + print(p.communicate()[0].decode('utf-8').replace(os.environ['KEY'], '$KEY')) if p.returncode != 0: raise subprocess.CalledProcessError(p.returncode, cmd)