From cd772daf1d0935b7634824102c301e91be7d6532 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 2 May 2013 17:47:17 +0530 Subject: [PATCH] [website] [fix] --- startup/website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup/website.py b/startup/website.py index 4c2f5653b4f..be8eba6def1 100644 --- a/startup/website.py +++ b/startup/website.py @@ -71,8 +71,8 @@ def update_template_args(page_name, args): "disable_signup"]: args[k] = cint(args.get(k) or 0) - args.url = quote(cstr(get_request_site_address(full_address=True)), cstr("")) - args.encoded_title = quote(cstr(args.title or ""), cstr("")) + args.url = quote(str(get_request_site_address(full_address=True)), str("")) + args.encoded_title = quote(str(args.title or ""), str("")) return args \ No newline at end of file