From: youguanxinqing Date: Tue, 12 Jan 2021 10:35:38 +0000 (+0800) Subject: should use python3 unicode in 'blog' demo #2977 X-Git-Tag: v6.2.0b1~55^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2978%2Fhead;p=thirdparty%2Ftornado.git should use python3 unicode in 'blog' demo #2977 --- diff --git a/demos/blog/blog.py b/demos/blog/blog.py index 3f1db9ecf..a16ddf3e7 100755 --- a/demos/blog/blog.py +++ b/demos/blog/blog.py @@ -68,7 +68,7 @@ class Application(tornado.web.Application): (r"/auth/logout", AuthLogoutHandler), ] settings = dict( - blog_title=u"Tornado Blog", + blog_title="Tornado Blog", template_path=os.path.join(os.path.dirname(__file__), "templates"), static_path=os.path.join(os.path.dirname(__file__), "static"), ui_modules={"Entry": EntryModule},