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(