Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 12, 2014
1 parent 8ee2bf4 commit 97585a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ so application developer can use classes if he wants::

@asyncio.coroutine
def handle_greeting(self, request):
name = request.match_info.get('name')
name = request.match_info.get('name', "Anonymous")
txt = "Hello, {}".format(name)
return web.Response(text=txt)

Expand Down

0 comments on commit 97585a8

Please # to comment.