Browse files

Change age to 'age'

  • Loading branch information...
1 parent 839ec08 commit f76d3568704a61e102c449a5939713bd9cb70f42 @leiqin leiqin committed Dec 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbook/cookies.zh-cn.md
View
4 cookbook/cookies.zh-cn.md
@@ -75,8 +75,8 @@ title: 如何操作Cookie
class CookieGet:
def GET(self):
- age=web.cookies().get(age)
+ age=web.cookies().get('age')
if age:
return "Your age is: %s" % age
else:
- return "Cookie does not exist."
+ return "Cookie does not exist."

0 comments on commit f76d356

Please sign in to comment.