From 9ee94219db71a40b354997cd275bc0763bce3588 Mon Sep 17 00:00:00 2001 From: Zhuyi Xue Date: Sat, 20 Feb 2021 16:11:21 -0800 Subject: [PATCH] updated README.md to make the tutorial work --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c0592bc8..a84d6e07 100644 --- a/README.md +++ b/README.md @@ -76,9 +76,12 @@ def hello_app(environ, start_response): start_response('200 OK', [('Content-type', 'text/html')]) return [ - '', - say_hello(), - '', + i.encode('utf-8') + for i in [ + '', + say_hello(), + '', + ] ] @@ -97,6 +100,7 @@ load('@dbx_build_tools//build_tools/services:svc.bzl', 'dbx_service_daemon') dbx_py_library( name = "hello", srcs = ["hello.py"], + python2_compatible=True, ) dbx_py_binary(